mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 16:20:35 +02:00
PackageTabs: Fix speedbutton misalignment caused by commit d216b7144d
. Based on patch by @ganmax.
This commit is contained in:
parent
3afd9c5762
commit
4a845e1051
@ -513,8 +513,8 @@ begin
|
||||
inherited CalculatePreferredSize(PreferredWidth, PreferredHeight,
|
||||
WithThemeSpace);
|
||||
|
||||
PreferredHeight := PreferredHeight + 4;
|
||||
PreferredWidth := PreferredWidth + 8;
|
||||
PreferredHeight := PreferredHeight - 2;
|
||||
PreferredWidth := PreferredWidth + 6;
|
||||
end;
|
||||
|
||||
{ TGroupTabLabel }
|
||||
@ -537,7 +537,7 @@ begin
|
||||
WithThemeSpace);
|
||||
|
||||
PreferredHeight := PreferredHeight + 8;
|
||||
PreferredWidth := PreferredWidth + 8;
|
||||
PreferredWidth := PreferredWidth + 6;
|
||||
end;
|
||||
|
||||
procedure TGroupTabLabel.MouseDown(Button: TMouseButton; Shift: TShiftState;
|
||||
|
Loading…
Reference in New Issue
Block a user