QML UI: explicitly reference the button for size

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-07-12 17:38:01 -07:00
parent 4491c91b93
commit 16759715e6

View file

@ -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"