mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 12:59:19 +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.}
|
else {currently applies only to oxygen & nitrogen theme.}
|
||||||
if ((TopMargin - BottomMargin - 2) > FontHeight) then
|
if ((TopMargin - BottomMargin - 2) > FontHeight) then
|
||||||
begin
|
begin
|
||||||
TopMargin := TopMargin - BottomMargin - 3;
|
{do not touch fusion style !}
|
||||||
BottomMargin := 0;
|
if QtWidgetSet.StyleName <> 'fusion' then
|
||||||
|
begin
|
||||||
|
TopMargin := TopMargin - BottomMargin - 3;
|
||||||
|
BottomMargin := 0;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
{if there's no text set margin to bottom margin size. issue #23642}
|
{if there's no text set margin to bottom margin size. issue #23642}
|
||||||
|
Loading…
Reference in New Issue
Block a user