aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/Frame.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-03-05 23:44:00 +0100
committerJari-Pekka Nurmi <jpnurmi@theqtcompany.com>2015-03-06 00:47:27 +0200
commitad6a1b0d26dee4e6474b73f9363fb6726e304e14 (patch)
tree6bea4c7b15699031088f69f58aa2c90addb9ccb1 /src/imports/controls/Frame.qml
parent3499e4db715ca63b49b47e3ff7cfb38161e81816 (diff)
Add Control::padding for convenience
Change-Id: I9a472e2378854ba07ce34ad571f54b0fa4a3755c Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/Frame.qml')
-rw-r--r--src/imports/controls/Frame.qml5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/imports/controls/Frame.qml b/src/imports/controls/Frame.qml
index 766e5e30..bff6dd68 100644
--- a/src/imports/controls/Frame.qml
+++ b/src/imports/controls/Frame.qml
@@ -50,10 +50,7 @@ AbstractFrame {
contentWidth: content.children.length === 1 ? content.children[0].implicitWidth : 0
contentHeight: content.children.length === 1 ? content.children[0].implicitHeight : 0
- topPadding: style.padding
- leftPadding: style.padding
- rightPadding: style.padding
- bottomPadding: style.padding
+ padding: style.padding
contentItem: Item {
id: content