From 4d7133610de793755f46cf409ea7ef133c939d22 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 28 Feb 2017 13:38:15 +0100 Subject: [PATCH] Updated layout of dialog CURA-3221 --- .../qml/DiscardOrKeepProfileChangesDialog.qml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/resources/qml/DiscardOrKeepProfileChangesDialog.qml b/resources/qml/DiscardOrKeepProfileChangesDialog.qml index fac428aea1..4f7b1651cc 100644 --- a/resources/qml/DiscardOrKeepProfileChangesDialog.qml +++ b/resources/qml/DiscardOrKeepProfileChangesDialog.qml @@ -14,7 +14,7 @@ UM.Dialog title: catalog.i18nc("@title:window", "Discard or Keep changes") width: 500 - height: 500 + height: 300 property var changesModel: Cura.UserChangesModel{ id: userChangesModel} onVisibilityChanged: { @@ -39,6 +39,13 @@ UM.Dialog anchors.margins: UM.Theme.getSize("default_margin").width anchors.left: parent.left anchors.right: parent.right + font: UM.Theme.getFont("default_bold") + wrapMode: Text.WordWrap + } + Item // Spacer + { + height: UM.Theme.getSize("default_margin").height + width: UM.Theme.getSize("default_margin").width } TableView @@ -111,8 +118,15 @@ UM.Dialog model: base.changesModel } + Item // Spacer + { + height: UM.Theme.getSize("default_margin").height + width: UM.Theme.getSize("default_margin").width + } Row { + anchors.right: parent.right + anchors.rightMargin: UM.Theme.getSize("default_margin").width Button { text: catalog.i18nc("@action:button", "Keep");