Index: sources/gui/qml/compounds/LabelUnitContainer.qml =================================================================== diff -u -rb395fdadb1ad460eba7e45eaca94c100a5d0c804 -r2b0c62ca1a150e1a375ab388be076e17532cb20f --- sources/gui/qml/compounds/LabelUnitContainer.qml (.../LabelUnitContainer.qml) (revision b395fdadb1ad460eba7e45eaca94c100a5d0c804) +++ sources/gui/qml/compounds/LabelUnitContainer.qml (.../LabelUnitContainer.qml) (revision 2b0c62ca1a150e1a375ab388be076e17532cb20f) @@ -30,6 +30,9 @@ property bool valid : true property bool showUnit : true property bool showEdit : false + property int titlePixelSize : Fonts.fontPixelContainerTitle + property int unitPixelSize : Fonts.fontPixelContainerUnit + property int titleLeftMargin: Variables.defaultMargin height : cellHeight width : cellWidth @@ -47,21 +50,21 @@ anchors { verticalCenter : parent.verticalCenter left : parent.left - leftMargin : Variables.defaultMargin + leftMargin : _root.titleLeftMargin } spacing : 10 Text { id: _title anchors.verticalCenter : _titleRow.verticalCenter color : Colors.offWhite - font.pixelSize : 28 + font.pixelSize : _root.titlePixelSize } Text { id: _unit anchors.bottom : _title.bottom text : ("(%1)").arg(_root.unitText) color : Colors.offWhite - font.pixelSize : 22 + font.pixelSize : _root.unitPixelSize font.weight : Font.Thin visible : _root.showUnit }