Qt: fixed TQtGroupBox margins with fusion style.

git-svn-id: trunk@52984 -
This commit is contained in:
zeljko 2016-09-17 14:14:15 +00:00
parent dff5e86d21
commit 8b791e4d7a

View File

@ -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}