Rename action_panel_button theme entry to action_button

Because it's not just used in the save panel.

Contributes to issue CURA-5876.
This commit is contained in:
Ghostkeeper 2018-11-20 14:24:09 +01:00
parent 42d73836f4
commit a1068a3ef2
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
4 changed files with 9 additions and 9 deletions

View file

@ -104,7 +104,7 @@ Column
{
id: previewStageShortcut
height: UM.Theme.getSize("action_panel_button").height
height: UM.Theme.getSize("action_button").height
text: catalog.i18nc("@button", "Preview")
color: UM.Theme.getColor("secondary")
hoverColor: UM.Theme.getColor("secondary")
@ -116,8 +116,8 @@ Column
Cura.OutputDevicesActionButton
{
width: previewStageShortcut.visible ? UM.Theme.getSize("action_panel_button").width : parent.width
height: UM.Theme.getSize("action_panel_button").height
width: previewStageShortcut.visible ? UM.Theme.getSize("action_button").width : parent.width
height: UM.Theme.getSize("action_button").height
}
}
}

View file

@ -85,7 +85,7 @@ Column
{
id: prepareButton
width: parent.width
height: UM.Theme.getSize("action_panel_button").height
height: UM.Theme.getSize("action_button").height
fixedWidthMode: true
text:
{

View file

@ -171,7 +171,7 @@ Cura.ExpandableComponent
hoverColor: UM.Theme.getColor("secondary")
textColor: UM.Theme.getColor("primary")
textHoverColor: UM.Theme.getColor("text")
height: UM.Theme.getSize("action_panel_button").height
height: UM.Theme.getSize("action_button").height
onClicked: popupItem.configuration_method = "custom"
}
@ -192,7 +192,7 @@ Cura.ExpandableComponent
hoverColor: UM.Theme.getColor("secondary")
textColor: UM.Theme.getColor("primary")
textHoverColor: UM.Theme.getColor("text")
height: UM.Theme.getSize("action_panel_button").height
height: UM.Theme.getSize("action_button").height
onClicked: popupItem.configuration_method = "auto"
}

View file

@ -385,7 +385,6 @@
"action_panel_widget": [25.0, 0.0],
"action_panel_information_widget": [20.0, 0.0],
"action_panel_button": [15.0, 3.0],
"machine_selector_widget": [16.0, 4.5],
@ -432,6 +431,9 @@
"button_icon": [2.5, 2.5],
"button_lining": [0, 0],
"action_button": [15.0, 3.0],
"action_button_radius": [0.15, 0.15],
"small_button": [2, 2],
"small_button_icon": [1.5, 1.5],
@ -520,8 +522,6 @@
"avatar_image": [6.8, 6.8],
"action_button_radius": [0.15, 0.15],
"monitor_config_override_box": [1.0, 14.0],
"monitor_extruder_circle": [2.75, 2.75],
"monitor_text_line": [1.16, 1.16],