Index: sources/gui/qml/pages/rxmanager/RxProfileComponent.qml =================================================================== diff -u -r9782439f3b5c0f06e3eb31bfea9aea877abbdce4 -r9f2f52d19e8cf2a2e93b521439ae4b9c0dc1ba56 --- sources/gui/qml/pages/rxmanager/RxProfileComponent.qml (.../RxProfileComponent.qml) (revision 9782439f3b5c0f06e3eb31bfea9aea877abbdce4) +++ sources/gui/qml/pages/rxmanager/RxProfileComponent.qml (.../RxProfileComponent.qml) (revision 9f2f52d19e8cf2a2e93b521439ae4b9c0dc1ba56) @@ -17,14 +17,12 @@ property string unitText : "" property string extraText : "" property alias value : _value.topText + property int topTextFont : Fonts.fontPixelRxProfileComponentLarge property bool showButtons : true property bool buttonsEnabled : true property bool dropShadowEnabled : true -// color : Colors.mainTreatmentLighterBlue -// radius : 5 - signal increment() signal decrement() @@ -33,7 +31,6 @@ anchors { horizontalCenter : _root.horizontalCenter - horizontalCenterOffset : Variables.defaultMargin * 1.5 top : parent.top topMargin : Variables.defaultMargin } @@ -44,11 +41,10 @@ } width : _root.width -// height : Variables.contentHeight + height : Variables.contentHeight text : _root.title color : Colors.pressuresText - horizontalAlignment : Text.AlignLeft - wrapMode: Text.Wrap + horizontalAlignment : Text.AlignHCenter maximumLineCount: 2 } @@ -67,35 +63,15 @@ top : parent.top topMargin : Variables.defaultMargin } - height : Variables.contentHeight + height : Variables.contentHeight * 3 width : Variables.treatmentFlowsComponentWidth topText : value - topTextFont.pixelSize : 60 topTextFont.weight : Font.Medium + topTextFont.pixelSize : _root.topTextFont + topTextAlignment : Text.AlignHCenter bottomText : _root.unitText bottomTextFont.pixelSize: 22 bottomTextTopMargin : Variables.defaultMargin - - Text { id: _extraText - objectName: "extraText" - - anchors { - horizontalCenter: _value.horizontalCenter - top : parent.bottom - topMargin : Variables.defaultMargin * 4.5 - } - - font { - pixelSize : 28 - weight : Font.Bold - } - - text : _root.extraText - width : 40 - height : Variables.contentHeight - color : Colors.mainTreatmentOrange - horizontalAlignment : Text.AlignHCenter - } } }