Index: sources/gui/qml/components/LabelValue.qml =================================================================== diff -u -rdff9d50ebfa80ec99313586e1d48662b72940d24 -r7caa737179a8c31825ae6445f593ac7ff5f95080 --- sources/gui/qml/components/LabelValue.qml (.../LabelValue.qml) (revision dff9d50ebfa80ec99313586e1d48662b72940d24) +++ sources/gui/qml/components/LabelValue.qml (.../LabelValue.qml) (revision 7caa737179a8c31825ae6445f593ac7ff5f95080) @@ -26,47 +26,51 @@ Text { id: _topText anchors { - top: parent.top - left: leftAlign ? parent.left: undefined - horizontalCenter: leftAlign ? undefined : parent.horizontalCenter + top : parent.top + left : leftAlign ? parent.left : + undefined + horizontalCenter: leftAlign ? undefined : + parent.horizontalCenter } - text: _root.topText - color: topTextColor - font.pixelSize: Fonts.fontPixelTextRectLabel + text : _root.topText + color : topTextColor + font.pixelSize : Fonts.fontPixelTextRectLabel } Text { id: _centerText anchors { - top : _topText.bottom - topMargin: 10 - left : _topText.left + top : _topText.bottom + topMargin : 10 + left : _topText.left } - text: _root.centerText - color: topTextColor - font.pixelSize: 20 - font.weight: Font.Light + text : _root.centerText + color : topTextColor + font.pixelSize : 20 + font.weight : Font.Light } Text { id: _bottomText anchors { - top : showCenterText ? _centerText.bottom :_topText.bottom + top : showCenterText ? _centerText.bottom : + _topText.bottom topMargin : bottomTextTopMargin - horizontalCenter: leftAlign ? undefined : _topText.horizontalCenter + horizontalCenter: leftAlign ? undefined : + _topText.horizontalCenter } - text: _root.bottomText - color: bottomTextColor - font.pixelSize: Fonts.fontPixelTextRectExtra + text : _root.bottomText + color : bottomTextColor + font.pixelSize : Fonts.fontPixelTextRectExtra } Text { id: _unitText anchors { - left: _bottomText.right - leftMargin: 5 - bottom: _bottomText.bottom + left : _bottomText.right + leftMargin : 5 + bottom : _bottomText.bottom bottomMargin: 10 } - text: _root.unitText - color: topTextColor - font.pixelSize: 22 + text : _root.unitText + color : topTextColor + font.pixelSize : 22 } }