mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
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:
parent
a1068a3ef2
commit
dca286cea5
4 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -85,7 +85,6 @@ Column
|
|||
{
|
||||
id: prepareButton
|
||||
width: parent.width
|
||||
height: UM.Theme.getSize("action_button").height
|
||||
fixedWidthMode: true
|
||||
text:
|
||||
{
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue