aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/GroupBox.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2016-03-09 12:59:41 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2016-03-09 14:18:27 +0000
commit6322aed4bef09a07cc5b86a343144ab249509704 (patch)
treea74697fde71d4f0366aad86bd950be9318d6d647 /src/imports/controls/GroupBox.qml
parent0f2f0f87b8346480fcc605712b70269fafe07ac5 (diff)
Containers: increase padding
6px is a very small default padding on high DPI. This is well visible in the Gallery example, for instance. All the control introduction labels are very near the screen edges. Change-Id: I4b998ada4589b04bc1015d1873a7031c15d89938 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/GroupBox.qml')
-rw-r--r--src/imports/controls/GroupBox.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/GroupBox.qml b/src/imports/controls/GroupBox.qml
index 7ae14c24..3de866a9 100644
--- a/src/imports/controls/GroupBox.qml
+++ b/src/imports/controls/GroupBox.qml
@@ -49,8 +49,8 @@ T.GroupBox {
contentHeight: contentItem.implicitHeight || (contentChildren.length === 1 ? contentChildren[0].implicitHeight : 0)
spacing: 6
- padding: 6
- topPadding: 6 + (label && label.implicitWidth > 0 ? label.implicitHeight + spacing : 0)
+ padding: 12
+ topPadding: padding + (label && label.implicitWidth > 0 ? label.implicitHeight + spacing : 0)
//! [contentItem]
contentItem: Item { }