diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-03-09 12:59:41 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-03-09 14:18:27 +0000 |
commit | 6322aed4bef09a07cc5b86a343144ab249509704 (patch) | |
tree | a74697fde71d4f0366aad86bd950be9318d6d647 /src/imports/controls/universal | |
parent | 0f2f0f87b8346480fcc605712b70269fafe07ac5 (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/universal')
-rw-r--r-- | src/imports/controls/universal/GroupBox.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/universal/GroupBox.qml b/src/imports/controls/universal/GroupBox.qml index 2b8ae935..9d80f1ac 100644 --- a/src/imports/controls/universal/GroupBox.qml +++ b/src/imports/controls/universal/GroupBox.qml @@ -51,7 +51,7 @@ T.GroupBox { spacing: 12 padding: 12 - topPadding: 12 + (label && label.implicitWidth > 0 ? label.implicitHeight + spacing : 0) + topPadding: padding + (label && label.implicitWidth > 0 ? label.implicitHeight + spacing : 0) //! [contentItem] contentItem: Item { } |