mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Use Cura.SecondaryButton for POS select settings button per design
CURA-6683
This commit is contained in:
parent
0b9052b068
commit
c3bbd884b5
1 changed files with 1 additions and 22 deletions
|
@ -358,7 +358,7 @@ Item
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Button
|
Cura.SecondaryButton
|
||||||
{
|
{
|
||||||
id: customiseSettingsButton;
|
id: customiseSettingsButton;
|
||||||
height: UM.Theme.getSize("setting_control").height;
|
height: UM.Theme.getSize("setting_control").height;
|
||||||
|
@ -366,27 +366,6 @@ Item
|
||||||
|
|
||||||
text: catalog.i18nc("@action:button", "Select settings");
|
text: catalog.i18nc("@action:button", "Select settings");
|
||||||
|
|
||||||
style: ButtonStyle
|
|
||||||
{
|
|
||||||
background: Rectangle
|
|
||||||
{
|
|
||||||
width: control.width;
|
|
||||||
height: control.height;
|
|
||||||
border.width: UM.Theme.getSize("default_lining").width;
|
|
||||||
border.color: control.pressed ? UM.Theme.getColor("action_button_active_border") :
|
|
||||||
control.hovered ? UM.Theme.getColor("action_button_hovered_border") : UM.Theme.getColor("action_button_border")
|
|
||||||
color: control.pressed ? UM.Theme.getColor("action_button_active") :
|
|
||||||
control.hovered ? UM.Theme.getColor("action_button_hovered") : UM.Theme.getColor("action_button")
|
|
||||||
}
|
|
||||||
label: Label
|
|
||||||
{
|
|
||||||
text: control.text;
|
|
||||||
color: UM.Theme.getColor("setting_control_text");
|
|
||||||
font: UM.Theme.getFont("default")
|
|
||||||
anchors.centerIn: parent
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
settingPickDialog.visible = true;
|
settingPickDialog.visible = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue