Layout improvements

CURA-3221
This commit is contained in:
Jaime van Kessel 2017-02-28 14:07:12 +01:00
parent 4d32bbda99
commit af21146fef

View file

@ -27,25 +27,36 @@ UM.Dialog
Column
{
anchors.fill: parent
spacing: UM.Theme.getSize("default_margin").width
UM.I18nCatalog
{
id: catalog;
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.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
spacing: UM.Theme.getSize("default_margin").width
UM.RecolorImage
{
source: UM.Theme.getIcon("star")
width : 30
height: 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
@ -118,15 +129,11 @@ 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
spacing: UM.Theme.getSize("default_margin").width
Button
{
text: catalog.i18nc("@action:button", "Keep");