Index: sources/gui/qml/pages/rxmanager/RxProfileContainer.qml =================================================================== diff -u -r68d99b718e64e99454955cb6d6fadf20972a6ea0 -rb4d8fe6f11b7cdf0c631b3ab35ba36f18e0d7bc4 --- sources/gui/qml/pages/rxmanager/RxProfileContainer.qml (.../RxProfileContainer.qml) (revision 68d99b718e64e99454955cb6d6fadf20972a6ea0) +++ sources/gui/qml/pages/rxmanager/RxProfileContainer.qml (.../RxProfileContainer.qml) (revision b4d8fe6f11b7cdf0c631b3ab35ba36f18e0d7bc4) @@ -27,18 +27,18 @@ Rectangle { id: _rxItem width: ListView.view.width - height: 370 + height: 345 color: Colors.mainTreatmentLighterBlue - radius: 5 + radius: 10 Column { id: _componentColumn - + spacing: 5 anchors { left : parent.left right : parent.right leftMargin: Variables.defaultMargin * 2 rightMargin: Variables.defaultMargin * 2 - topMargin : Variables.defaultMargin + topMargin : Variables.defaultMargin * 2 } Text { id: _profileName @@ -59,39 +59,39 @@ RxProfileComponent{ id: _bloodflowComp title : "Blood Flow" - height : 370 - (100 + Variables.defaultMargin * 2) + height : _rxItem.height - (100 + Variables.defaultMargin * 2) width : _componentRow.componentWidth value : bloodFlow - unitText : "mL/min" + unitText : Variables.unitTextFlowRate } RxProfileComponent{ id: _diaflowComp title : "Dialysate Flow" - height : 370 - (100 + Variables.defaultMargin * 2) + height : _rxItem.height - (100 + Variables.defaultMargin * 2) width : _componentRow.componentWidth value : dialysateFlow - unitText : "mL/min" + unitText : Variables.unitTextFlowRate } RxProfileComponent{ id: _txDurComp title : "Duration" - height : 370 - (100 + Variables.defaultMargin * 2) + height : _rxItem.height - (100 + Variables.defaultMargin * 2) width : _componentRow.componentWidth value : treatmentDuration - unitText : "min" + unitText : Variables.unitTextDuration } RxProfileComponent{ id: _HeparinComp title : "Heparin" - height : 370 - (100 + Variables.defaultMargin * 2) + height : _rxItem.height - (100 + Variables.defaultMargin * 2) width : _componentRow.componentWidth value : (heparinVolume === "NONE") ? "- -" : heparinVolume - unitText : "mL" + unitText : Variables.unitTextFluid } RxProfileComponent{ id: _ACComp title : "Acid" - height : 370 - (100 + Variables.defaultMargin * 2) + height : _rxItem.height - (100 + Variables.defaultMargin * 2) width : _componentRow.componentWidth value : acidConcentrate.replace(", ", "\n") topTextFont : Fonts.fontPixelRxProfileComponentSmall @@ -100,7 +100,7 @@ RxProfileComponent{ id: _BcComp title : "Bicarbonate" - height : 370 - (100 + Variables.defaultMargin * 2) + height : _rxItem.height - (100 + Variables.defaultMargin * 2) width : _componentRow.componentWidth value : bicarbConcentrate.replace(" ", "\n") topTextFont : Fonts.fontPixelRxProfileComponentSmall @@ -109,7 +109,7 @@ RxProfileComponent{ id: _DialyzerComp title : "Dialyzer" - height : 370 - (100 + Variables.defaultMargin * 2) + height : _rxItem.height - (100 + Variables.defaultMargin * 2) width : _componentRow.componentWidth value : dialyzerType.replace(/((?:[^ ]+ ){1}[^ ]+)\s/, "$1\n") topTextFont : Fonts.fontPixelRxProfileComponentSmall @@ -118,18 +118,20 @@ RxProfileComponent{ id: _TempComp title : "Dialysate Temp" - height : 370 - (100 + Variables.defaultMargin * 2) + height : _rxItem.height - (100 + Variables.defaultMargin * 2) width : _componentRow.componentWidth value : dialysateTemperature - unitText : "C" + unitText : Variables.unitTextTemperature } } Text { - text: 'Last Modified: ' + lastModifiedDate - width: parent.width // Makes it stretch - horizontalAlignment: Text.AlignRight - font.pointSize : Fonts.fontPixelButton - color : Colors.pressuresText +// anchors.topMargin: Variables.defaultMargin*2 + text : 'Last Modified: ' + lastModifiedDate + width : parent.width + horizontalAlignment : Text.AlignRight +// verticalAlignment : Text.AlignBottom + font.pointSize : Fonts.fontPixelButton - 4 + color : Colors.pressuresText } } }