mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 06:45:57 +08:00
Layout improvements
CURA-3221
This commit is contained in:
parent
4d32bbda99
commit
af21146fef
@ -27,25 +27,36 @@ UM.Dialog
|
|||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
spacing: UM.Theme.getSize("default_margin").width
|
||||||
|
|
||||||
UM.I18nCatalog
|
UM.I18nCatalog
|
||||||
{
|
{
|
||||||
id: catalog;
|
id: catalog;
|
||||||
name:"cura"
|
name:"cura"
|
||||||
}
|
}
|
||||||
Label
|
|
||||||
|
Row
|
||||||
{
|
{
|
||||||
text: "You have customized some default profile settings. Would you like to keep or discard those settings?"
|
height: childrenRect.height
|
||||||
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")
|
spacing: UM.Theme.getSize("default_margin").width
|
||||||
wrapMode: Text.WordWrap
|
UM.RecolorImage
|
||||||
}
|
{
|
||||||
Item // Spacer
|
source: UM.Theme.getIcon("star")
|
||||||
{
|
width : 30
|
||||||
height: UM.Theme.getSize("default_margin").height
|
height: width
|
||||||
width: UM.Theme.getSize("default_margin").width
|
color: UM.Theme.getColor("setting_control_button")
|
||||||
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
text: "You have customized some default profile settings.\nWould you like to keep or discard those settings?"
|
||||||
|
anchors.margins: UM.Theme.getSize("default_margin").width
|
||||||
|
font: UM.Theme.getFont("default_bold")
|
||||||
|
wrapMode: Text.WordWrap
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TableView
|
TableView
|
||||||
@ -118,15 +129,11 @@ 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.right: parent.right
|
||||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
|
spacing: 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