Index: sources/gui/qml/compounds/LabelUnitContainer.qml =================================================================== diff -u -rb395fdadb1ad460eba7e45eaca94c100a5d0c804 -r7c550f70136f2f33520661a2e97fe99021cc681d --- sources/gui/qml/compounds/LabelUnitContainer.qml (.../LabelUnitContainer.qml) (revision b395fdadb1ad460eba7e45eaca94c100a5d0c804) +++ sources/gui/qml/compounds/LabelUnitContainer.qml (.../LabelUnitContainer.qml) (revision 7c550f70136f2f33520661a2e97fe99021cc681d) @@ -22,14 +22,13 @@ 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 string unitText : "" + property bool valid : true + property bool showEdit : false height : cellHeight width : cellWidth @@ -58,12 +57,12 @@ } Text { id: _unit - anchors.bottom : _title.bottom + anchors.baseline: _title.baseline text : ("(%1)").arg(_root.unitText) color : Colors.offWhite font.pixelSize : 22 font.weight : Font.Thin - visible : _root.showUnit + visible : _root.unitText.length > 0 } IconButton { id : _editButton