From 16759715e62a48ca3bb77a668a27103a6b90ea20 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 12 Jul 2015 17:38:01 -0700 Subject: QML UI: explicitly reference the button for size Signed-off-by: Dirk Hohndel --- qt-mobile/Preferences.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'qt-mobile/Preferences.qml') 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" -- cgit v1.2.3-70-g09d2