mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:28:59 +08: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
@ -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…
x
Reference in New Issue
Block a user