mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-15 10:19:23 +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,
|
inherited CalculatePreferredSize(PreferredWidth, PreferredHeight,
|
||||||
WithThemeSpace);
|
WithThemeSpace);
|
||||||
|
|
||||||
PreferredHeight := PreferredHeight + 4;
|
PreferredHeight := PreferredHeight - 2;
|
||||||
PreferredWidth := PreferredWidth + 8;
|
PreferredWidth := PreferredWidth + 6;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ TGroupTabLabel }
|
{ TGroupTabLabel }
|
||||||
@ -537,7 +537,7 @@ begin
|
|||||||
WithThemeSpace);
|
WithThemeSpace);
|
||||||
|
|
||||||
PreferredHeight := PreferredHeight + 8;
|
PreferredHeight := PreferredHeight + 8;
|
||||||
PreferredWidth := PreferredWidth + 8;
|
PreferredWidth := PreferredWidth + 6;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TGroupTabLabel.MouseDown(Button: TMouseButton; Shift: TShiftState;
|
procedure TGroupTabLabel.MouseDown(Button: TMouseButton; Shift: TShiftState;
|
||||||
|
Loading…
Reference in New Issue
Block a user