mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 05:41:05 -07:00
Reuse the component SecondaryButton in the printer selector.
Contributes to CURA-5942.
This commit is contained in:
parent
52b916d45c
commit
0a1c0e18d1
1 changed files with 2 additions and 10 deletions
|
|
@ -125,15 +125,11 @@ Cura.ExpandableComponent
|
||||||
padding: UM.Theme.getSize("default_margin").width
|
padding: UM.Theme.getSize("default_margin").width
|
||||||
spacing: UM.Theme.getSize("default_margin").width
|
spacing: UM.Theme.getSize("default_margin").width
|
||||||
|
|
||||||
Cura.ActionButton
|
Cura.SecondaryButton
|
||||||
{
|
{
|
||||||
leftPadding: UM.Theme.getSize("default_margin").width
|
leftPadding: UM.Theme.getSize("default_margin").width
|
||||||
rightPadding: UM.Theme.getSize("default_margin").width
|
rightPadding: UM.Theme.getSize("default_margin").width
|
||||||
text: catalog.i18nc("@button", "Add printer")
|
text: catalog.i18nc("@button", "Add printer")
|
||||||
color: UM.Theme.getColor("secondary")
|
|
||||||
hoverColor: UM.Theme.getColor("secondary")
|
|
||||||
textColor: UM.Theme.getColor("primary")
|
|
||||||
textHoverColor: UM.Theme.getColor("text")
|
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
togglePopup()
|
togglePopup()
|
||||||
|
|
@ -141,15 +137,11 @@ Cura.ExpandableComponent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Cura.ActionButton
|
Cura.SecondaryButton
|
||||||
{
|
{
|
||||||
leftPadding: UM.Theme.getSize("default_margin").width
|
leftPadding: UM.Theme.getSize("default_margin").width
|
||||||
rightPadding: UM.Theme.getSize("default_margin").width
|
rightPadding: UM.Theme.getSize("default_margin").width
|
||||||
text: catalog.i18nc("@button", "Manage printers")
|
text: catalog.i18nc("@button", "Manage printers")
|
||||||
color: UM.Theme.getColor("secondary")
|
|
||||||
hoverColor: UM.Theme.getColor("secondary")
|
|
||||||
textColor: UM.Theme.getColor("primary")
|
|
||||||
textHoverColor: UM.Theme.getColor("text")
|
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
togglePopup()
|
togglePopup()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue