mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:38:58 +08:00
Use Cura.SecondaryButton for POS select settings button per design
CURA-6683
This commit is contained in:
parent
0b9052b068
commit
c3bbd884b5
@ -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…
x
Reference in New Issue
Block a user