mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-25 16:19:16 +02:00
LCL: Fix a ChangeBoundLoop-Detected-Error with TControlBar. Issue #27855, patch from Vojtech Cihak.
git-svn-id: trunk@49007 -
This commit is contained in:
parent
c26b722a98
commit
801a25a549
@ -103,6 +103,7 @@ end;
|
||||
|
||||
procedure TCustomControlBar.AlignControlToBand(ABand: TCtrlBand; ARightToLeft: Boolean);
|
||||
begin
|
||||
ABand.Control.Align:=alNone;
|
||||
ABand.Control.Top := ABand.Top + (ABand.Height - ABand.Control.Height) div 2;
|
||||
if not ARightToLeft then
|
||||
ABand.Control.Left := ABand.Left + cFullGrabber
|
||||
|
Loading…
Reference in New Issue
Block a user