mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 16:00:23 +02:00
Qt: fixed TQtGroupBox margins with fusion style.
git-svn-id: trunk@52984 -
This commit is contained in:
parent
dff5e86d21
commit
8b791e4d7a
@ -8356,8 +8356,12 @@ begin
|
||||
else {currently applies only to oxygen & nitrogen theme.}
|
||||
if ((TopMargin - BottomMargin - 2) > FontHeight) then
|
||||
begin
|
||||
TopMargin := TopMargin - BottomMargin - 3;
|
||||
BottomMargin := 0;
|
||||
{do not touch fusion style !}
|
||||
if QtWidgetSet.StyleName <> 'fusion' then
|
||||
begin
|
||||
TopMargin := TopMargin - BottomMargin - 3;
|
||||
BottomMargin := 0;
|
||||
end;
|
||||
end;
|
||||
{$ENDIF}
|
||||
{if there's no text set margin to bottom margin size. issue #23642}
|
||||
|
Loading…
Reference in New Issue
Block a user