IDE: Move the "all component tabs" speedbutton to an existing toolbar

git-svn-id: trunk@42767 -
This commit is contained in:
martin 2013-09-13 10:32:46 +00:00
parent 21bbfbbf52
commit 16ad630a61

View File

@ -2061,12 +2061,13 @@ begin
{$IFDEF NEW_MAIN_IDE_TABS}
MainIDEBar.pnlRightSpeedButtons.Hide;
{$ELSE}
MainIDEBar.pnlRightSpeedButtons.Hide;
// Copied from CodeTyphon
MainIDEBar.SelComponentPageButton:=TSpeedButton.Create(MainIDEBar.pnlRightSpeedButtons);
with MainIDEBar.SelComponentPageButton do
begin
Name := 'PalettePageSelectBtn';
Parent := MainIDEBar.pnlRightSpeedButtons;
Parent := MainIDEBar.tbStandard;
LoadGlyphFromLazarusResource('SelCompPage');
Flat := True;
SetBounds(1,31,16,16);