Index: sources/gui/qml/components/ConfirmTreatmentTable.qml =================================================================== diff -u -r6e4cc1f67e9290035b4e3a5be2eac04a85ae0c9a -r0401b9a1fb6f89f0ec83571f2f868956c7500a0f --- sources/gui/qml/components/ConfirmTreatmentTable.qml (.../ConfirmTreatmentTable.qml) (revision 6e4cc1f67e9290035b4e3a5be2eac04a85ae0c9a) +++ sources/gui/qml/components/ConfirmTreatmentTable.qml (.../ConfirmTreatmentTable.qml) (revision 0401b9a1fb6f89f0ec83571f2f868956c7500a0f) @@ -24,14 +24,14 @@ Rectangle { id: _root objectName: "ConfirmTreatmentTable" - width: Variables.cTreatmentTableWidth - height: Variables.cTreatmentTableHeight + width: Variables.createTreatmentTableWidth + height: Variables.createTreatmentTableHeight color: Colors.backgroundDialog Rectangle { id: _header width: parent.width - height: Variables.cTreatmentHdrHeight + height: Variables.createTreatmentHeaderHeight color: "transparent" radius: 5 @@ -42,8 +42,8 @@ width: height anchors.top: _header.top anchors.left: _header.left - anchors.topMargin: Variables.cTreatmentMargin - anchors.leftMargin: Variables.cTreatmentMargin + anchors.topMargin: Variables.createTreatmentMargin + anchors.leftMargin: Variables.createTreatmentMargin color: Colors.createTrProfileID radius: 5 @@ -63,13 +63,12 @@ objectName: _root.objectName + "_treatment_profile_name" anchors.bottom: _treatment_profile_id.bottom anchors.left: _treatment_profile_id.right - anchors.topMargin: Variables.cTreatmentMargin + anchors.topMargin: Variables.createTreatmentMargin anchors.leftMargin: 20 text: "New Treatment" color: "white" font.pixelSize: Fonts.crTreatmentFontSize } - } Text { @@ -80,8 +79,7 @@ color: "white" anchors.left: parent.left anchors.top: _header.bottom - anchors.leftMargin: Variables.cTreatmentMargin - + anchors.leftMargin: Variables.createTreatmentMargin } Text { @@ -92,17 +90,16 @@ color: "white" anchors.top: _header.bottom anchors.left: _root.horizontalCenter - } ConfirmTreatmentSubTable { id: _left_table anchors.top: _prescription.bottom anchors.left: _root.left - anchors.leftMargin: Variables.cTreatmentMargin - anchors.topMargin: Variables.cTreatmentTblMargin + anchors.leftMargin: Variables.createTreatmentMargin + anchors.topMargin: Variables.createTreatmentTableMargin anchors.bottom: parent.bottom - width: parent.width - 2*Variables.cTreatmentMargin + width: parent.width - 2*Variables.createTreatmentMargin height: _root.height - _header.height prescriptionKeys: vTreatmentCreate.getPrescriptionParameterNames() prescriptionValues: vTreatmentCreate.getPrescriptionParameterValues() @@ -116,7 +113,5 @@ operatingValues = vTreatmentCreate.getOperatingParameterValues() } } - } - }