Skip to content

Commit 0902dde

Browse files
committed
rearrange
1 parent bafdf43 commit 0902dde

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/QmlControls/EscIndicatorPage.qml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ ToolIndicatorPage {
146146

147147
GridLayout {
148148
Layout.fillWidth: true
149-
columns: 2
149+
columns: 1
150150
rowSpacing: ScreenTools.defaultFontPixelHeight * 0.25
151151
columnSpacing: ScreenTools.defaultFontPixelWidth * 2
152152

@@ -163,6 +163,19 @@ ToolIndicatorPage {
163163
}
164164
}
165165

166+
LabelledLabel {
167+
Layout.fillWidth: true
168+
label: qsTr("Total Errors")
169+
labelText: {
170+
if (!_escDataAvailable || _allMotors.length === 0) return na
171+
var totalErrors = 0
172+
for (var i = 0; i < _allMotors.length; i++) {
173+
totalErrors += _allMotors[i].errorCount
174+
}
175+
return totalErrors.toString()
176+
}
177+
}
178+
166179
LabelledLabel {
167180
Layout.fillWidth: true
168181
label: qsTr("Max Temperature")
@@ -180,19 +193,6 @@ ToolIndicatorPage {
180193
}
181194
}
182195

183-
LabelledLabel {
184-
Layout.fillWidth: true
185-
label: qsTr("Total Errors")
186-
labelText: {
187-
if (!_escDataAvailable || _allMotors.length === 0) return na
188-
var totalErrors = 0
189-
for (var i = 0; i < _allMotors.length; i++) {
190-
totalErrors += _allMotors[i].errorCount
191-
}
192-
return totalErrors.toString()
193-
}
194-
}
195-
196196
LabelledLabel {
197197
Layout.fillWidth: true
198198
label: qsTr("Max Current")

0 commit comments

Comments
 (0)