mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-22 08:09:37 +01:00
lcl: coolbar: fix double-if from r55428 #e5fe561452. issue #32027
git-svn-id: trunk@55430 -
This commit is contained in:
parent
f6cc92a276
commit
3f793b533d
@ -577,8 +577,7 @@ begin
|
|||||||
for i := 0 to aCountM1 do begin
|
for i := 0 to aCountM1 do begin
|
||||||
if aRowEnd or FVisiBands[i].Break then
|
if aRowEnd or FVisiBands[i].Break then
|
||||||
aLeft := aBorderLeft;
|
aLeft := aBorderLeft;
|
||||||
if Assigned(FVisiBands[i].Control)then
|
if FVisiBands[i].Control is TToolBar then
|
||||||
if FVisiBands[i].Control is TToolBar then
|
|
||||||
begin
|
begin
|
||||||
if TToolBar(FVisiBands[i].Control).IsVertical then
|
if TToolBar(FVisiBands[i].Control).IsVertical then
|
||||||
TToolBar(FVisiBands[i].Control).WrapButtons(Height,NewWidth,NewHeight,true)
|
TToolBar(FVisiBands[i].Control).WrapButtons(Height,NewWidth,NewHeight,true)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user