Skip to content

Commit 009b089

Browse files
committed
Minor layout tweaks
1 parent 7eb6c55 commit 009b089

File tree

1 file changed

+29
-46
lines changed

1 file changed

+29
-46
lines changed

mobile/Lisp.qml

Lines changed: 29 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,6 @@ Item {
325325
}
326326
}
327327

328-
Label {
329-
text: "Code"
330-
Layout.fillWidth: true
331-
}
332-
333328
ScrollView {
334329
Layout.fillWidth: true
335330
Layout.fillHeight: true
@@ -468,19 +463,6 @@ Item {
468463

469464
// === REPL tab ===
470465
ColumnLayout {
471-
RowLayout {
472-
Layout.fillWidth: true
473-
474-
Item {
475-
Layout.fillWidth: true
476-
}
477-
478-
Label {
479-
text: "REPL Console"
480-
color: Utility.getAppHexColor("lightText")
481-
}
482-
}
483-
484466
ScrollView {
485467
id: replScroll
486468
Layout.fillWidth: true
@@ -552,34 +534,6 @@ Item {
552534
ColumnLayout {
553535
id: statsTabItem
554536

555-
RowLayout {
556-
Layout.fillWidth: true
557-
558-
CheckBox {
559-
id: pollStatsBox
560-
text: "Auto Poll"
561-
checked: true
562-
}
563-
564-
Label {
565-
text: "Hz"
566-
}
567-
568-
ComboBox {
569-
id: pollHzBox
570-
model: [1, 2, 5, 10]
571-
currentIndex: 1
572-
onCurrentTextChanged: {
573-
statsPollHz = parseInt(currentText)
574-
}
575-
}
576-
577-
Button {
578-
text: "Refresh"
579-
onClicked: mCommands.lispGetStats(true)
580-
}
581-
}
582-
583537
Label {
584538
text: "CPU: " + lispCpuUse.toFixed(1) + "%"
585539
}
@@ -657,6 +611,35 @@ Item {
657611
}
658612
}
659613
}
614+
615+
RowLayout {
616+
Layout.fillWidth: true
617+
618+
CheckBox {
619+
id: pollStatsBox
620+
text: "Auto Poll"
621+
checked: true
622+
}
623+
624+
Label {
625+
text: "Hz"
626+
}
627+
628+
ComboBox {
629+
id: pollHzBox
630+
Layout.fillWidth: true
631+
model: [1, 2, 5, 10]
632+
currentIndex: 1
633+
onCurrentTextChanged: {
634+
statsPollHz = parseInt(currentText)
635+
}
636+
}
637+
638+
Button {
639+
text: "Refresh"
640+
onClicked: mCommands.lispGetStats(true)
641+
}
642+
}
660643
}
661644
}
662645
}

0 commit comments

Comments
 (0)