mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 07:15:03 -06:00
Center icon an label vertically.
Contributes to CURA-5786.
This commit is contained in:
parent
257d482184
commit
f1f1b9f168
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue