QMacStyle - remove vertical adjustment for inactive tab
While it worked as expected with beta, with final release this thing looks wrong again, especially in the dark mode. Change-Id: I6857344de897e0f39d9d8e66431635dbe2f4d077 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit abee4cdd5925a8513f51784754fca8fa35031732) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
fb61cd8df8
commit
28b015342d
@ -4035,8 +4035,6 @@ void QMacStyle::drawControl(ControlElement ce, const QStyleOption *opt, QPainter
|
||||
rAdjusted.origin.x -= 3;
|
||||
rAdjusted.size.width += 6;
|
||||
if (isBigSurOrAbove) {
|
||||
rAdjusted.origin.y -= 1;
|
||||
rAdjusted.size.height += 1;
|
||||
if (tp == QStyleOptionTab::End)
|
||||
rAdjusted.origin.x -= 2;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user