mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 06:07:29 +01:00
LCL: set UpDown Orientation before adding the TUpDownButtons, fixes issue #7855.
git-svn-id: trunk@10225 -
This commit is contained in:
parent
7958b8e0ce
commit
82e647b24a
@ -207,6 +207,7 @@ begin
|
||||
fCompStyle := csPanel;
|
||||
ControlStyle := ControlStyle - [csDoubleClicks] +
|
||||
[csClickEvents, csOpaque, csReplicatable, csNoFocus];
|
||||
FOrientation := udVertical;
|
||||
MinBtn := TUpDownButton.CreateWithParams(Self, btPrev);
|
||||
MaxBtn := TUpDownButton.CreateWithParams(Self, btNext);
|
||||
SetInitialBounds(0,0,17,31);
|
||||
@ -216,7 +217,6 @@ begin
|
||||
FMax := 100;
|
||||
FIncrement := 1;
|
||||
FAlignButton := udRight;
|
||||
FOrientation := udVertical;
|
||||
FThousands := True;
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user