mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
Remove weird padding from button
I don't know why the default Button has padding everywhere, but I don't want it. Contributes to issue CURA-5876.
This commit is contained in:
parent
e05566865a
commit
6876c12106
1 changed files with 5 additions and 1 deletions
|
@ -15,6 +15,9 @@ Button
|
|||
signal activateConfiguration()
|
||||
|
||||
height: childrenRect.height
|
||||
padding: 0 //Stupid QML button has spacing by default.
|
||||
rightPadding: 0
|
||||
leftPadding: 0
|
||||
|
||||
property var textColor: checked ? UM.Theme.getColor("configuration_item_text_active") : UM.Theme.getColor("configuration_item_text")
|
||||
|
||||
|
@ -73,7 +76,8 @@ Button
|
|||
height: childrenRect.height
|
||||
visible: configuration.buildplateConfiguration != ""
|
||||
|
||||
UM.RecolorImage {
|
||||
UM.RecolorImage
|
||||
{
|
||||
id: buildplateIcon
|
||||
anchors.left: parent.left
|
||||
width: UM.Theme.getSize("main_window_header_button_icon").width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue