Index: sources/gui/qml/components/ConfirmTreatmentTable.qml =================================================================== diff -u -r7cc15ae5968205b241a08ca4646f283b8bf97b03 -r8a5dbf556a66524fbe4b60ac1573182a0bd27617 --- sources/gui/qml/components/ConfirmTreatmentTable.qml (.../ConfirmTreatmentTable.qml) (revision 7cc15ae5968205b241a08ca4646f283b8bf97b03) +++ sources/gui/qml/components/ConfirmTreatmentTable.qml (.../ConfirmTreatmentTable.qml) (revision 8a5dbf556a66524fbe4b60ac1573182a0bd27617) @@ -21,19 +21,17 @@ import "qrc:/globals" import "qrc:/components" -Rectangle { - id: _root +Item { id: _root objectName: "ConfirmTreatmentTable" width: Variables.createTreatmentTableWidth height: Variables.createTreatmentTableHeight - color: Colors.backgroundDialog Rectangle { id: _header width: parent.width height: Variables.createTreatmentHeaderHeight - color: "transparent" - radius: 5 + color: Colors.transparent + radius: Variables.dialogRadius Rectangle { id: _treatment_profile_id @@ -45,7 +43,7 @@ anchors.topMargin: Variables.createTreatmentMargin anchors.leftMargin: Variables.createTreatmentMargin color: Colors.createTrProfileID - radius: 5 + radius: Variables.dialogRadius Text { id: _treatment_profile_id_text @@ -65,18 +63,18 @@ anchors.left: _treatment_profile_id.right anchors.topMargin: Variables.createTreatmentMargin anchors.leftMargin: 20 - text: "New Treatment" - color: "white" + text: qsTr("New Treatment") + color: Colors.textMain font.pixelSize: Fonts.fontPixelCreateTreatment } } Text { id: _prescription objectName: _root.objectName + "_prescription" - text: "PRESCRIPTION" + text: qsTr("PRESCRIPTION") font.pixelSize: Fonts.fontPixelCreateTreatmentTable - color: "white" + color: Colors.textMain anchors.left: parent.left anchors.top: _header.bottom anchors.leftMargin: Variables.createTreatmentMargin @@ -85,9 +83,9 @@ Text { id: _operating_parameters objectName: _root.objectName + "_operating_parameters" - text: "OPERATING PARAMETERS" + text: qsTr("OPERATING PARAMETERS") font.pixelSize: Fonts.fontPixelCreateTreatmentTable - color: "white" + color: Colors.textMain anchors.top: _header.bottom anchors.left: _root.horizontalCenter }