Use medium_button instead of toolbar_button

Since it is less specific and can be used in other places too.

CURA-8202
This commit is contained in:
Konstantinos Karmas 2021-07-01 10:02:09 +02:00
parent 0478c127bf
commit 0904324dde
7 changed files with 12 additions and 15 deletions

View file

@ -175,8 +175,8 @@ QtObject
{
background: Item
{
implicitWidth: UM.Theme.getSize("toolbar_button").width
implicitHeight: UM.Theme.getSize("toolbar_button").height
implicitWidth: UM.Theme.getSize("button").width
implicitHeight: UM.Theme.getSize("button").height
UM.PointingRectangle
{
@ -252,11 +252,11 @@ QtObject
anchors.centerIn: parent
opacity: control.enabled ? 1.0 : 0.2
source: control.iconSource
width: UM.Theme.getSize("toolbar_button_icon").width
height: UM.Theme.getSize("toolbar_button_icon").height
width: UM.Theme.getSize("medium_button_icon").width
height: UM.Theme.getSize("medium_button_icon").height
color: UM.Theme.getColor("icon")
sourceSize: UM.Theme.getSize("toolbar_button_icon")
sourceSize: UM.Theme.getSize("medium_button_icon")
}
}
}

View file

@ -527,9 +527,6 @@
"button_icon": [2.5, 2.5],
"button_lining": [0, 0],
"toolbar_button": [4, 4],
"toolbar_button_icon": [2, 2],
"action_button": [15.0, 2.5],
"action_button_icon": [1.0, 1.0],
"action_button_radius": [0.15, 0.15],