From 5ca3bfadd005e8a867b72ef90d95c2c5b27e1b35 Mon Sep 17 00:00:00 2001 From: ondrej Date: Tue, 21 Feb 2017 23:00:57 +0000 Subject: [PATCH] IDE: editortoolbar: auto height git-svn-id: trunk@54246 - --- ide/editortoolbarstatic.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ide/editortoolbarstatic.pas b/ide/editortoolbarstatic.pas index 81a210968c..11d1bc8482 100644 --- a/ide/editortoolbarstatic.pas +++ b/ide/editortoolbarstatic.pas @@ -204,7 +204,7 @@ begin // Toolbar must be created with Align = alTop, then initial positioning of buttons is correct. FToolBar := TToolbar.Create(FWindow); FToolBar.Parent := FWindow; - FToolBar.Height := 26; + FToolBar.AutoSize := True; FToolBar.Align := alTop; FToolBar.Flat := True; FToolBar.Images := IDEImages.Images_16;