mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Adjust margins and correctly vertical center buttons.
CURA-9793
This commit is contained in:
parent
591fbb2034
commit
491c501d8c
2 changed files with 3 additions and 6 deletions
|
@ -53,6 +53,7 @@ Item
|
|||
onClicked: menu.opened ? menu.close() : menu.open()
|
||||
|
||||
anchors.right: profileWarningReset.left
|
||||
anchors.rightMargin: UM.Theme.getSize("narrow_margin").width
|
||||
width: UM.Theme.getSize("print_setup_big_item").width - profileWarningReset.width
|
||||
height: textLabel.contentHeight + 2 * UM.Theme.getSize("narrow_margin").height
|
||||
hoverEnabled: true
|
||||
|
@ -157,6 +158,7 @@ Item
|
|||
id: profileWarningReset
|
||||
width: childrenRect.width
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
fullWarning: false
|
||||
}
|
||||
|
||||
|
|
|
@ -91,11 +91,6 @@ Item
|
|||
return catalog.i18nc("@info %1 is the name of a profile", "Recommended settings (for <b>%1</b>) were altered.").arg(profile_name);
|
||||
}
|
||||
}
|
||||
PropertyChanges
|
||||
{
|
||||
target: warningIcon
|
||||
color: UM.Theme.getColor("success")
|
||||
}
|
||||
},
|
||||
State
|
||||
{
|
||||
|
@ -145,7 +140,7 @@ Item
|
|||
Item
|
||||
{
|
||||
id: buttonsSpacer
|
||||
width: UM.Theme.getSize("narrow_margin").width
|
||||
width: UM.Theme.getSize("default_margin").width
|
||||
anchors.right: compareAndSaveButton.left
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue