aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/dialogs/systemdialogs/ColorDialogs.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/dialogs/systemdialogs/ColorDialogs.qml')
-rw-r--r--examples/quick/dialogs/systemdialogs/ColorDialogs.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/quick/dialogs/systemdialogs/ColorDialogs.qml b/examples/quick/dialogs/systemdialogs/ColorDialogs.qml
index cd74dd6766..0cb42a01aa 100644
--- a/examples/quick/dialogs/systemdialogs/ColorDialogs.qml
+++ b/examples/quick/dialogs/systemdialogs/ColorDialogs.qml
@@ -115,15 +115,16 @@ Rectangle {
right: parent.right
bottom: parent.bottom
}
- height: 50
+ height: buttonRow.height * 1.2
color: Qt.darker(palette.window, 1.1)
border.color: Qt.darker(palette.window, 1.3)
Row {
+ id: buttonRow
spacing: 6
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.leftMargin: 12
- height: parent.height - 6
+ height: implicitHeight
width: parent.width
Button {
text: "Open"