From b9af9dce1f424a1535b49c008a141c522674b354 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Mon, 22 Aug 2016 19:00:49 +0200 Subject: [PATCH] Tweak profile overview layout CURA-2006 --- resources/qml/Preferences/ProfileTab.qml | 34 ++++++++++++++++++++---- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/resources/qml/Preferences/ProfileTab.qml b/resources/qml/Preferences/ProfileTab.qml index 72c241babe..6733c0df2e 100644 --- a/resources/qml/Preferences/ProfileTab.qml +++ b/resources/qml/Preferences/ProfileTab.qml @@ -20,13 +20,37 @@ Tab anchors.fill: parent anchors.margins: UM.Theme.getSize("default_margin").width - TableViewColumn { role: "label"; title: catalog.i18nc("@title:column", "Setting") } - TableViewColumn { role: "profile_value"; title: catalog.i18nc("@title:column", "Profile Value"); } - TableViewColumn { role: "user_value"; title: catalog.i18nc("@title:column", "User Value"); visible: quality == Cura.MachineManager.activeQualityId } - TableViewColumn { role: "unit"; title: catalog.i18nc("@title:column", "Unit") } + TableViewColumn + { + role: "label" + title: catalog.i18nc("@title:column", "Setting") + width: parent.width * 0.4 + } + TableViewColumn + { + role: "profile_value" + title: catalog.i18nc("@title:column", "Profile") + width: parent.width * 0.18 + } + TableViewColumn + { + role: "user_value" + title: catalog.i18nc("@title:column", "Current"); visible: quality == Cura.MachineManager.activeQualityId + width: parent.width * 0.18 + } + TableViewColumn + { + role: "unit" + title: catalog.i18nc("@title:column", "Unit") + width: parent.width * 0.14 + } section.property: "category" - section.delegate: Label { text: section } + section.delegate: Label + { + text: section + font.bold: true + } model: Cura.QualitySettingsModel {