aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/imports/nativestyle/controls/DefaultGroupBox.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/nativestyle/controls/DefaultGroupBox.qml b/src/imports/nativestyle/controls/DefaultGroupBox.qml
index 07c587cb..a7f3f9d0 100644
--- a/src/imports/nativestyle/controls/DefaultGroupBox.qml
+++ b/src/imports/nativestyle/controls/DefaultGroupBox.qml
@@ -58,7 +58,7 @@ T.GroupBox {
? background.labelPos
: Qt.point(0,0)
x: labelPos.x + background.x
- y: labelPos.y + background.y - groupBoxPadding.top
+ y: labelPos.y + background.y - (__nativeBackground ? background.groupBoxPadding.top : 0)
width: children[0].implicitWidth
height: children[0].implicitHeight
Text {