mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 15:38:59 +08:00
Left Margin for Listview items was doubled. Remove margin to left align text with "Add a script" button.
Swap default buttons for Cura.Primary/Cura.Secondary Buttons CURA-8688
This commit is contained in:
parent
4510a8b06e
commit
7a2b609b32
@ -68,7 +68,6 @@ UM.Dialog
|
||||
anchors
|
||||
{
|
||||
left: parent.left
|
||||
leftMargin: UM.Theme.getSize("default_margin").width
|
||||
right: parent.right
|
||||
rightMargin: base.textMargin
|
||||
}
|
||||
@ -214,7 +213,7 @@ UM.Dialog
|
||||
}
|
||||
}
|
||||
}
|
||||
Button
|
||||
Cura.SecondaryButton
|
||||
{
|
||||
id: addButton
|
||||
text: catalog.i18nc("@action", "Add a script")
|
||||
@ -453,7 +452,7 @@ UM.Dialog
|
||||
}
|
||||
}
|
||||
|
||||
rightButtons: Button
|
||||
rightButtons: Cura.PrimaryButton
|
||||
{
|
||||
text: catalog.i18nc("@action:button", "Close")
|
||||
onClicked: dialog.accept()
|
||||
|
Loading…
x
Reference in New Issue
Block a user