aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/GroupBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/GroupBox.qml')
-rw-r--r--src/imports/controls/GroupBox.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/imports/controls/GroupBox.qml b/src/imports/controls/GroupBox.qml
index cc84008f..7a625a81 100644
--- a/src/imports/controls/GroupBox.qml
+++ b/src/imports/controls/GroupBox.qml
@@ -46,8 +46,9 @@ AbstractGroupBox {
contentWidth: contentChildren.length === 1 ? contentChildren[0].implicitWidth : 0
contentHeight: contentChildren.length === 1 ? contentChildren[0].implicitHeight : 0
+ spacing: Theme.spacing
padding: Theme.padding
- topPadding: Theme.padding + (label && title ? label.implicitHeight + Theme.spacing : 0)
+ topPadding: Theme.padding + (label && title ? label.implicitHeight + spacing : 0)
//! [contentItem]
contentItem: Item { }