Index: sources/gui/qml/pages/MainHome.qml =================================================================== diff -u -r3ef1a4ff361ba1774ad1a6f6170dbb174cadbdd5 -r45ce5cd058a8d0239d486e0ab4b057731f7dba76 --- sources/gui/qml/pages/MainHome.qml (.../MainHome.qml) (revision 3ef1a4ff361ba1774ad1a6f6170dbb174cadbdd5) +++ sources/gui/qml/pages/MainHome.qml (.../MainHome.qml) (revision 45ce5cd058a8d0239d486e0ab4b057731f7dba76) @@ -31,7 +31,6 @@ property alias reasonText : _notification.text - signal startTreatment() signal createTreatment() Image { @@ -51,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