Index: sources/gui/qml/pages/treatment/sections/TreatmentVitals.qml =================================================================== diff -u -r1ce1716e378804663a3b8d8e8257b7b72d364006 -r7caa737179a8c31825ae6445f593ac7ff5f95080 --- sources/gui/qml/pages/treatment/sections/TreatmentVitals.qml (.../TreatmentVitals.qml) (revision 1ce1716e378804663a3b8d8e8257b7b72d364006) +++ sources/gui/qml/pages/treatment/sections/TreatmentVitals.qml (.../TreatmentVitals.qml) (revision 7caa737179a8c31825ae6445f593ac7ff5f95080) @@ -29,44 +29,44 @@ TreatmentSection { id: _root readonly property string bloodSDSeparator: "/" - header.title: qsTr("Vitals" ) - contentArea.anchors.topMargin: 0 + header.title : qsTr("Vitals" ) + contentArea.anchors.topMargin : 0 contentItem: Column { id: _content - spacing : Variables.defaultMargin * 4.5 + spacing : Variables.defaultMargin * 4.5 LabelValue { id: _bloodPressure - height: 40 - width: contentItem.width - topTextFont.pixelSize: Fonts.fontPixelVitals - topTextFont.weight: Font.Bold - topText: Variables.notSetVariable(vTreatmentVitals.systolic, 2) + bloodSDSeparator + Variables.notSetVariable(vTreatmentVitals.diastolic, 2) - bottomText: Variables.unitTextBloodPressure + height : 40 + width : contentItem.width + topTextFont.pixelSize : Fonts.fontPixelVitals + topTextFont.weight : Font.Bold + topText : Variables.notSetVariable(vTreatmentVitals.systolic, 2) + bloodSDSeparator + Variables.notSetVariable(vTreatmentVitals.diastolic, 2) + bottomText : Variables.unitTextBloodPressure bottomTextFont.pixelSize: 20 - bottomTextFont.weight: Font.Light - bottomTextTopMargin: 10 + bottomTextFont.weight : Font.Light + bottomTextTopMargin : 10 } LabelValue { id: _heartBeat - height: 45 - width: contentItem.width - topTextFont.pixelSize: Fonts.fontPixelVitals - topTextFont.weight: Font.Bold - topText: Variables.notSetVariable(vTreatmentVitals.heartRate, 2) - bottomText: Variables.unitTextHeartBeat + height : 45 + width : contentItem.width + topTextFont.pixelSize : Fonts.fontPixelVitals + topTextFont.weight : Font.Bold + topText : Variables.notSetVariable(vTreatmentVitals.heartRate, 2) + bottomText : Variables.unitTextHeartBeat bottomTextFont.pixelSize: 20 - bottomTextFont.weight: Font.Light - bottomTextTopMargin: 10 + bottomTextFont.weight : Font.Light + bottomTextTopMargin : 10 } Text { id: _lastRecorded - height: 30 - width: contentItem.width - text: qsTr("Last Recorded: " ) - font.pixelSize: 18 - font.weight: Font.Normal - verticalAlignment: Text.AlignBottom - color : Colors.textMain + height : 30 + width : contentItem.width + text : qsTr("Last Recorded: " ) + font.pixelSize : 18 + font.weight : Font.Normal + verticalAlignment : Text.AlignBottom + color : Colors.textMain } }