mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 21:45:56 +08:00
Adjust margins and correctly vertical center buttons.
CURA-9793
This commit is contained in:
parent
591fbb2034
commit
491c501d8c
@ -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…
x
Reference in New Issue
Block a user