mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:46:05 +08:00
Center Manage Profiles button
CURA-9793
This commit is contained in:
parent
491c501d8c
commit
493f82620e
@ -233,18 +233,19 @@ Popup
|
|||||||
right: parent.right
|
right: parent.right
|
||||||
}
|
}
|
||||||
|
|
||||||
height: textLabel.contentHeight + 2 * UM.Theme.getSize("narrow_margin").height
|
height: textLabel.contentHeight + UM.Theme.getSize("default_margin").height
|
||||||
|
|
||||||
contentItem: Item
|
contentItem: Item
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: childrenRect.height
|
height: parent.height
|
||||||
|
|
||||||
UM.Label
|
UM.Label
|
||||||
{
|
{
|
||||||
id: textLabel
|
id: textLabel
|
||||||
text: manageProfilesButton.text
|
text: manageProfilesButton.text
|
||||||
height: contentHeight
|
height: contentHeight
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
UM.Label
|
UM.Label
|
||||||
{
|
{
|
||||||
@ -252,6 +253,7 @@ Popup
|
|||||||
text: Cura.Actions.manageProfiles.shortcut
|
text: Cura.Actions.manageProfiles.shortcut
|
||||||
color: UM.Theme.getColor("text_lighter")
|
color: UM.Theme.getColor("text_lighter")
|
||||||
height: contentHeight
|
height: contentHeight
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
}
|
}
|
||||||
@ -266,7 +268,7 @@ Popup
|
|||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
width: 2
|
width: 2
|
||||||
height: UM.Theme.getSize("default_radius").width
|
height: UM.Theme.getSize("default_radius").width
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user