aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/Popup.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-05-11 06:59:11 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-05-11 08:28:42 +0000
commit9eb7cff3dcdd6db967b57c6428cb5196ab45f2e0 (patch)
treeee12e2bb0da591ff9c8103c4125bd2859720f983 /src/imports/controls/material/Popup.qml
parenta41bc57eec441d8081aaf78e13beb0868f243f1a (diff)
Popup: sync content padding with Pane
Pane paddings were increased in 6322aed. Increase also Popup paddings for the same reason that 6px is a very small default padding on high DPI. This is well visible in the About dialog of the Gallery example, for instance, where the text is very near the popup edges. Change-Id: I7b9478a509936ace2ad540207ee18dac2cf10306 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/material/Popup.qml')
-rw-r--r--src/imports/controls/material/Popup.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/material/Popup.qml b/src/imports/controls/material/Popup.qml
index 444b419b..04d15fa9 100644
--- a/src/imports/controls/material/Popup.qml
+++ b/src/imports/controls/material/Popup.qml
@@ -52,7 +52,7 @@ T.Popup {
contentWidth: contentItem.implicitWidth || (contentChildren.length === 1 ? contentChildren[0].implicitWidth : 0)
contentHeight: contentItem.implicitHeight || (contentChildren.length === 1 ? contentChildren[0].implicitHeight : 0)
- padding: 6
+ padding: 12
enter: Transition {
// grow_fade_in