aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/GroupBox.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-06-27 00:57:26 +0200
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-06-30 08:24:42 +0000
commit2ba8261fee95cca0d119879a95f871133f0b51d5 (patch)
tree0dc1471967a3ba3daca026aaace737a8b67b0585 /src/imports/controls/GroupBox.qml
parente7869a71faf9d3b2c120e734c7323df0bf41dff6 (diff)
Control::spacing
Change-Id: I67d81db16e95813b1ed9903017ce4d272093f7bb Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
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 { }