Index: sources/gui/qml/dialogs/DryDemoDialog.qml =================================================================== diff -u -rdfd4fe3e511308ddd0e6ad9f93cc1d980d22e933 -r07d06c2d00ca6f4d7a8246a3405e77961ff393dc --- sources/gui/qml/dialogs/DryDemoDialog.qml (.../DryDemoDialog.qml) (revision dfd4fe3e511308ddd0e6ad9f93cc1d980d22e933) +++ sources/gui/qml/dialogs/DryDemoDialog.qml (.../DryDemoDialog.qml) (revision 07d06c2d00ca6f4d7a8246a3405e77961ff393dc) @@ -32,16 +32,15 @@ */ ModalDialog { id: _root - width : 400 + width : 800 height : 700 - //anchors.centerIn: undefined // TODO figure out the anchor right readonly property int rowCount : 12 // Number of buttons that are mapped to commands readonly property int colCount : itemsText.length > rowCount ? Math.ceil(itemsText.length / rowCount) : 1 property var itemsText : [ qsTr("Standby" ), // 0: Standy - qsTr("Creat Treatment" ), // 1: Create Treatment + qsTr("Create Treatment" ), // 1: Create Treatment qsTr("Water Sample" ), // 2: Water sample qsTr("Consumables" ), // 3: Consumables qsTr("Disposables" ), // 4: Disposables @@ -52,6 +51,9 @@ qsTr("Start Treatment" ), // 9: Start treatment qsTr("End Treatment" ), // 10: End treatment qsTr("Disinfection" ), // 11: Disinfection + qsTr("High Priority Alarm" ), // 12: High priority alarm + qsTr("Medium Priority Alarm" ), // 13: Medium priority alarm + qsTr("Low Priority Alarm" ), // 14: Low priority alarm ] function col(idx, gap = 0) { @@ -89,6 +91,7 @@ itemWidth : 325 itemsText : _root.itemsText rowSpacing : 0 + colSpacing : 50 } }