Index: sources/gui/qml/compounds/BPHREntry.qml =================================================================== diff -u -r6e9dccd1109d9c8d4ee4b6a21260618969a1706b -r74134f8b53c3b71dc91c67ed723db8c29d4d4e69 --- sources/gui/qml/compounds/BPHREntry.qml (.../BPHREntry.qml) (revision 6e9dccd1109d9c8d4ee4b6a21260618969a1706b) +++ sources/gui/qml/compounds/BPHREntry.qml (.../BPHREntry.qml) (revision 74134f8b53c3b71dc91c67ed723db8c29d4d4e69) @@ -67,7 +67,6 @@ QtObject { id: _private property bool isBloodPressureCompareValid : (parseInt(_bloodPressureDiastolic.text) <= parseInt(_bloodPressureSystolic.text)) } - anchors.horizontalCenter: parent.horizontalCenter y : Qt.inputMethod.visible && _keyboard.visible ? _root.topMarginContent : ( ( _root.contentRectHeight - _container.height ) / 2 ) Behavior on y { NumberAnimation { duration: Variables.keybardAnimationDuration } } @@ -79,7 +78,7 @@ leftPadding : _root.titleIndent Row { spacing : 10 TextEntry { id : _bloodPressureSystolic - text : Variables.notSetVariable(vTreatmentVitals.systolic, 0) + text : _GuiView.dryDemoMode ? "140" : Variables.notSetVariable(vTreatmentVitals.systolic, 0) label.text : qsTr("Blood Pressure") label.width : _root.labelWidth validator : IntValidator { bottom: vTreatmentVitals.systolicMin; top : vTreatmentVitals.systolicMax } @@ -92,7 +91,7 @@ width : 10 } TextEntry { id : _bloodPressureDiastolic - text : Variables.notSetVariable(vTreatmentVitals.diastolic, 0) + text : _GuiView.dryDemoMode ? "90" : Variables.notSetVariable(vTreatmentVitals.diastolic, 0) label.width : 0 validator : IntValidator { bottom: vTreatmentVitals.diastolicMin; top : vTreatmentVitals.diastolicMax } onClicked : _root.clicked() @@ -106,7 +105,7 @@ } Row { spacing : 10 TextEntry { id : _heartRate - text : Variables.notSetVariable(vTreatmentVitals.heartRate, 0) + text : _GuiView.dryDemoMode ? "80" : Variables.notSetVariable(vTreatmentVitals.heartRate, 0) label.text : qsTr("Heart Rate") label.width : _root.labelWidth onClicked : _root.clicked()