Index: sources/gui/qml/pages/MainHome.qml =================================================================== diff -u -r21bcf654a57e2b3a6d1a2fee1173c3dff81f8f99 -r45ce5cd058a8d0239d486e0ab4b057731f7dba76 --- sources/gui/qml/pages/MainHome.qml (.../MainHome.qml) (revision 21bcf654a57e2b3a6d1a2fee1173c3dff81f8f99) +++ sources/gui/qml/pages/MainHome.qml (.../MainHome.qml) (revision 45ce5cd058a8d0239d486e0ab4b057731f7dba76) @@ -31,15 +31,13 @@ property alias reasonText : _notification.text - signal startTreatment() signal createTreatment() Image { anchors.fill: backgroundRect source: "qrc:/images/iHomeBackground" } - // 2 - Header ImageLogoD { id: _headerLogo } @@ -52,27 +50,14 @@ font.pixelSize: 40 //// ----- @LEAHIZED: Move to Variables.qml } - Column { - spacing: Variables.columnSpacing + TouchRect { id : _createTreatmentRect anchors.centerIn: parent - TouchRect { id : _createTreatmentRect - anchors.horizontalCenter: parent.horizontalCenter - text.text : qsTr("Create Treatment") - onClicked : createTreatment() - isDefault : true - width : 435 //// ----- @LEAHIZED: Move to Variables.qml - height : 92 //// ----- @LEAHIZED: Move to Variables.qml - pixelSize : 30 //// ----- @LEAHIZED: Move to Variables.qml - } - TouchRect { id : _startTreatmentRect - anchors.horizontalCenter: parent.horizontalCenter - text.text : qsTr("Start Treatment") - onClicked : startTreatment() - isDefault : true - width : 435 //// ----- @LEAHIZED: Move to Variables.qml - height : 92 //// ----- @LEAHIZED: Move to Variables.qml - pixelSize : 30 //// ----- @LEAHIZED: Move to Variables.qml - } + text.text : qsTr("Create Treatment") + onClicked : createTreatment() + isDefault : true + width : 435 //// ----- @LEAHIZED: Move to Variables.qml + height : 92 //// ----- @LEAHIZED: Move to Variables.qml + pixelSize : 30 //// ----- @LEAHIZED: Move to Variables.qml } NotificationBarSmall { id: _notification