Index: sources/gui/qml/compounds/LabelUnitContainer.qml =================================================================== diff -u -rb395fdadb1ad460eba7e45eaca94c100a5d0c804 -rf2aa3ee850de1023cfc011b845ed0364d251b749 --- sources/gui/qml/compounds/LabelUnitContainer.qml (.../LabelUnitContainer.qml) (revision b395fdadb1ad460eba7e45eaca94c100a5d0c804) +++ sources/gui/qml/compounds/LabelUnitContainer.qml (.../LabelUnitContainer.qml) (revision f2aa3ee850de1023cfc011b845ed0364d251b749) @@ -22,14 +22,15 @@ import "qrc:/pages/pretreatment" Rectangle { id: _root - property Item contentItem : null - property alias contentArea : _contentArea + property Item contentItem : null + property alias contentArea : _contentArea - property alias text : _title.text - property string unitText: "" - property bool valid : true - property bool showUnit : true - property bool showEdit : false + property alias text : _title.text + property alias textPixelSize : _title.font.pixelSize + property string unitText : "" + property bool valid : true + property bool showUnit : true + property bool showEdit : false height : cellHeight width : cellWidth @@ -59,7 +60,7 @@ Text { id: _unit anchors.bottom : _title.bottom - text : ("(%1)").arg(_root.unitText) + text : _root.unitText.length > 0 ? ("(%1)").arg(_root.unitText) : "" color : Colors.offWhite font.pixelSize : 22 font.weight : Font.Thin