mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 18:49:02 +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
|
anchors
|
||||||
{
|
{
|
||||||
left: parent.left
|
left: parent.left
|
||||||
leftMargin: UM.Theme.getSize("default_margin").width
|
|
||||||
right: parent.right
|
right: parent.right
|
||||||
rightMargin: base.textMargin
|
rightMargin: base.textMargin
|
||||||
}
|
}
|
||||||
@ -214,7 +213,7 @@ UM.Dialog
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Button
|
Cura.SecondaryButton
|
||||||
{
|
{
|
||||||
id: addButton
|
id: addButton
|
||||||
text: catalog.i18nc("@action", "Add a script")
|
text: catalog.i18nc("@action", "Add a script")
|
||||||
@ -453,7 +452,7 @@ UM.Dialog
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rightButtons: Button
|
rightButtons: Cura.PrimaryButton
|
||||||
{
|
{
|
||||||
text: catalog.i18nc("@action:button", "Close")
|
text: catalog.i18nc("@action:button", "Close")
|
||||||
onClicked: dialog.accept()
|
onClicked: dialog.accept()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user