mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 08:19:02 +08:00
Align the text to the center of the button
Contributes to CURA-5942.
This commit is contained in:
parent
fcde6e3a34
commit
e863c34f68
@ -122,6 +122,8 @@ Rectangle
|
|||||||
text: marketplaceButton.text
|
text: marketplaceButton.text
|
||||||
color: marketplaceButton.hovered ? UM.Theme.getColor("main_window_header_background") : UM.Theme.getColor("primary_text")
|
color: marketplaceButton.hovered ? UM.Theme.getColor("main_window_header_background") : UM.Theme.getColor("primary_text")
|
||||||
width: contentWidth
|
width: contentWidth
|
||||||
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
|
|
||||||
anchors
|
anchors
|
||||||
|
Loading…
x
Reference in New Issue
Block a user