Correct alignment of manufacturer in add printer window

I reduced the font size of the manufacturer to make it appear like a subscript a bit.
This commit is contained in:
Ghostkeeper 2015-12-29 16:38:10 +01:00
parent 7f11c0c3cf
commit f6ccbab9dc
2 changed files with 8 additions and 4 deletions

View file

@ -187,12 +187,12 @@ Item
Label Label
{ {
id: author id: author
text: model.author; text: model.author
font: UM.Theme.fonts.very_small
anchors.left: machineButton.right anchors.left: machineButton.right
anchors.leftMargin: UM.Theme.sizes.standard_list_lineheight.height/2 anchors.leftMargin: UM.Theme.sizes.standard_list_lineheight.height/2
anchors.verticalCenter: machineButton.verticalCenter anchors.baseline: machineButton.baseline
anchors.verticalCenterOffset: UM.Theme.sizes.standard_list_lineheight.height / 4 anchors.baselineOffset: -UM.Theme.sizes.standard_list_lineheight.height / 16
font: UM.Theme.fonts.caption;
color: palette.mid color: palette.mid
} }

View file

@ -13,6 +13,10 @@
"size": 1.0, "size": 1.0,
"family": "Proxima Nova Rg" "family": "Proxima Nova Rg"
}, },
"very_small": {
"size": 0.75,
"family": "Proxima Nova Rg"
},
"caption": { "caption": {
"size": 1.0, "size": 1.0,
"family": "Proxima Nova Rg" "family": "Proxima Nova Rg"