mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06: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
1 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue