mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 03:55:55 +08:00
Updated layout of dialog
CURA-3221
This commit is contained in:
parent
85b58c9296
commit
4d7133610d
@ -14,7 +14,7 @@ UM.Dialog
|
|||||||
title: catalog.i18nc("@title:window", "Discard or Keep changes")
|
title: catalog.i18nc("@title:window", "Discard or Keep changes")
|
||||||
|
|
||||||
width: 500
|
width: 500
|
||||||
height: 500
|
height: 300
|
||||||
property var changesModel: Cura.UserChangesModel{ id: userChangesModel}
|
property var changesModel: Cura.UserChangesModel{ id: userChangesModel}
|
||||||
onVisibilityChanged:
|
onVisibilityChanged:
|
||||||
{
|
{
|
||||||
@ -39,6 +39,13 @@ UM.Dialog
|
|||||||
anchors.margins: UM.Theme.getSize("default_margin").width
|
anchors.margins: UM.Theme.getSize("default_margin").width
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
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
|
TableView
|
||||||
@ -111,8 +118,15 @@ UM.Dialog
|
|||||||
model: base.changesModel
|
model: base.changesModel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Item // Spacer
|
||||||
|
{
|
||||||
|
height: UM.Theme.getSize("default_margin").height
|
||||||
|
width: UM.Theme.getSize("default_margin").width
|
||||||
|
}
|
||||||
Row
|
Row
|
||||||
{
|
{
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
text: catalog.i18nc("@action:button", "Keep");
|
text: catalog.i18nc("@action:button", "Keep");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user