From 3747542709d67d39552f1d164bc30a7d4714c776 Mon Sep 17 00:00:00 2001 From: alexs75 Date: Sat, 31 May 2008 17:58:24 +0000 Subject: [PATCH] TToolPanel on TFrame now work git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@457 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/rx/rxtoolbar.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/rx/rxtoolbar.pas b/components/rx/rxtoolbar.pas index 5d90120ce..e3d7ac065 100644 --- a/components/rx/rxtoolbar.pas +++ b/components/rx/rxtoolbar.pas @@ -1038,7 +1038,7 @@ var i, L:integer; begin inherited Loaded; - L:=0; +{ L:=0; for i:=0 to FToolbarItems.Count - 1 do begin if ButtonAllign = tbaLeft then @@ -1050,7 +1050,7 @@ begin else FToolbarItems[i].UpdateLeftAfterLoad; end; - +} for i:=0 to FToolbarItems.Count - 1 do begin FToolbarItems[i].FButton.Align:=BtnAl2Align[FButtonAllign];