Give action button a sane default height

We don't want to give it a default width since that should just adjust to its contents by default, which is fine.

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

View file

@ -31,6 +31,7 @@ Button
leftPadding: UM.Theme.getSize("default_margin").width
rightPadding: UM.Theme.getSize("default_margin").width
height: UM.Theme.getSize("action_button").height
contentItem: Row
{

View file

@ -104,7 +104,6 @@ Column
{
id: previewStageShortcut
height: UM.Theme.getSize("action_button").height
text: catalog.i18nc("@button", "Preview")
color: UM.Theme.getColor("secondary")
hoverColor: UM.Theme.getColor("secondary")

View file

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

View file

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