From 90c3a09bc013805c48cfd0bc7eacc68efaf9d8ab Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Sat, 8 Oct 2016 15:15:12 +0200 Subject: [PATCH] Add tooltip for formulas on profile overview tabs --- resources/qml/Preferences/ProfileTab.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/qml/Preferences/ProfileTab.qml b/resources/qml/Preferences/ProfileTab.qml index 1bfd8156a4..3fd4ca6a5a 100644 --- a/resources/qml/Preferences/ProfileTab.qml +++ b/resources/qml/Preferences/ProfileTab.qml @@ -25,12 +25,13 @@ Tab { id: itemDelegate - Rectangle + UM.TooltipArea { property var setting: qualitySettings.getItem(styleData.row) height: childrenRect.height - color: "transparent" width: (parent != null) ? parent.width : 0 + text: (styleData.value.substr(0,1) == "=") ? styleData.value : "" + Label { anchors.left: parent.left