[ui] make labels of attributes with non-default value bold

This commit is contained in:
Yann Lanthony 2018-02-05 15:13:10 +01:00
parent c1e9675fee
commit 0fec9c25b0

View file

@ -36,6 +36,9 @@ RowLayout {
ToolTip.visible: parameterMA.containsMouse && object.desc.description
ToolTip.delay: 800
// make label bold if attribute's value is not the default one
font.bold: !object.isDefault
background: Rectangle { color: Qt.darker(palette.window, 1.2) }
MouseArea {