mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:35:57 +08:00
Center icon an label vertically.
Contributes to CURA-5786.
This commit is contained in:
parent
257d482184
commit
f1f1b9f168
@ -24,6 +24,7 @@ Item
|
||||
id: icon
|
||||
|
||||
anchors.left: parent.left
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
source: UM.Theme.getIcon("dot")
|
||||
width: UM.Theme.getSize("section_icon").width
|
||||
@ -40,6 +41,7 @@ Item
|
||||
id: label
|
||||
anchors.left: icon.right
|
||||
anchors.leftMargin: UM.Theme.getSize("thin_margin").width
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
text: "Empty label"
|
||||
color: UM.Theme.getColor("text")
|
||||
font: UM.Theme.getFont("very_small")
|
||||
|
Loading…
x
Reference in New Issue
Block a user