summaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-12 17:38:01 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-12 17:38:01 -0700
commit16759715e62a48ca3bb77a668a27103a6b90ea20 (patch)
tree00d6a6fd08147f4915dc6f749d0afaa7c3c62e79 /qt-mobile
parent4491c91b93e4147e19de37bf9209e35e65fe7895 (diff)
downloadsubsurface-16759715e62a48ca3bb77a668a27103a6b90ea20.tar.gz
QML UI: explicitly reference the button for size
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/Preferences.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-mobile/Preferences.qml b/qt-mobile/Preferences.qml
index a628384d9..f03ab8a02 100644
--- a/qt-mobile/Preferences.qml
+++ b/qt-mobile/Preferences.qml
@@ -54,8 +54,8 @@ Item {
}
Item {
- height: childrenRect.height
- width: childrenRect.width
+ height: saveButton.height
+ width: saveButton.width
Button {
id: saveButton
text: "Save"
@@ -70,8 +70,8 @@ Item {
}
Item {
- height: childrenRect.height
- width: childrenRect.width
+ height: cancelButton.height
+ width: cancelButton.width
Button {
id: cancelButton
text: "Cancel"