From f6ccbab9dcef004083a1a91e805782e76293b86a Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 29 Dec 2015 16:38:10 +0100 Subject: [PATCH] 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. --- resources/qml/WizardPages/AddMachine.qml | 8 ++++---- resources/themes/cura/theme.json | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/resources/qml/WizardPages/AddMachine.qml b/resources/qml/WizardPages/AddMachine.qml index a98f3ce8ef..745b91edb6 100644 --- a/resources/qml/WizardPages/AddMachine.qml +++ b/resources/qml/WizardPages/AddMachine.qml @@ -187,12 +187,12 @@ Item Label { id: author - text: model.author; + text: model.author + font: UM.Theme.fonts.very_small anchors.left: machineButton.right anchors.leftMargin: UM.Theme.sizes.standard_list_lineheight.height/2 - anchors.verticalCenter: machineButton.verticalCenter - anchors.verticalCenterOffset: UM.Theme.sizes.standard_list_lineheight.height / 4 - font: UM.Theme.fonts.caption; + anchors.baseline: machineButton.baseline + anchors.baselineOffset: -UM.Theme.sizes.standard_list_lineheight.height / 16 color: palette.mid } diff --git a/resources/themes/cura/theme.json b/resources/themes/cura/theme.json index a3eb519e32..1f99c51270 100644 --- a/resources/themes/cura/theme.json +++ b/resources/themes/cura/theme.json @@ -13,6 +13,10 @@ "size": 1.0, "family": "Proxima Nova Rg" }, + "very_small": { + "size": 0.75, + "family": "Proxima Nova Rg" + }, "caption": { "size": 1.0, "family": "Proxima Nova Rg"