aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/macos/GroupBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickcontrols/macos/GroupBox.qml')
-rw-r--r--src/quickcontrols/macos/GroupBox.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/quickcontrols/macos/GroupBox.qml b/src/quickcontrols/macos/GroupBox.qml
index 8a133dad70..4f7bf7efa2 100644
--- a/src/quickcontrols/macos/GroupBox.qml
+++ b/src/quickcontrols/macos/GroupBox.qml
@@ -8,6 +8,11 @@ import QtQuick.NativeStyle as NativeStyle
NativeStyle.DefaultGroupBox {
id: control
+ leftPadding: 9 + (__nativeBackground ? background.contentPadding.left : 0)
+ rightPadding: 9 + (__nativeBackground ? background.contentPadding.right : 0)
+ topPadding: 9 + (__nativeBackground ? background.contentPadding.top : 0)
+ bottomPadding: 9 + (__nativeBackground ? background.contentPadding.bottom : 0)
+
label: Item {
readonly property point labelPos : control.__nativeBackground
? background.labelPos