mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 21:50:18 +02:00
ide, packager: use AutoSize for toolbar dividers
git-svn-id: trunk@20517 -
This commit is contained in:
parent
c729661d99
commit
9037c5325a
@ -1641,7 +1641,7 @@ procedure TMainIDE.SetupSpeedButtons;
|
|||||||
with Result do
|
with Result do
|
||||||
begin
|
begin
|
||||||
Style := tbsDivider;
|
Style := tbsDivider;
|
||||||
Width := 3;
|
AutoSize := True;
|
||||||
Parent := AToolBar;
|
Parent := AToolBar;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
@ -1273,7 +1273,7 @@ procedure TPackageEditorForm.SetupComponents;
|
|||||||
begin
|
begin
|
||||||
Result := TToolButton.Create(Self);
|
Result := TToolButton.Create(Self);
|
||||||
Result.Style := tbsDivider;
|
Result.Style := tbsDivider;
|
||||||
Result.Width := 3;
|
Result.AutoSize := True;
|
||||||
Result.Parent := ToolBar;
|
Result.Parent := ToolBar;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user