Adjust margins and correctly vertical center buttons.

CURA-9793
This commit is contained in:
Joey de l'Arago 2022-12-06 14:48:50 +01:00
parent 591fbb2034
commit 491c501d8c
2 changed files with 3 additions and 6 deletions

View file

@ -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
}

View file

@ -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
}