Added various improvements
This commit is contained in:
10
qml/main.qml
10
qml/main.qml
@@ -84,9 +84,9 @@ QuickControls.ApplicationWindow {
|
||||
}
|
||||
|
||||
Indicator {
|
||||
label: qsTr("Output current")
|
||||
label: qsTr("Input current")
|
||||
indicator: qsTr("A")
|
||||
value.text: CanController.outputCurrent
|
||||
value.text: CanController.inputCurrent
|
||||
value.readOnly: true
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredWidth: 100
|
||||
@@ -97,7 +97,7 @@ QuickControls.ApplicationWindow {
|
||||
text: CanController.isVkuClosed ? qsTr("VKU opening") : qsTr("VKU closing")
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: Ui.scale(12)
|
||||
onClicked: CanController.vkuClosure()
|
||||
onClicked: CanController.switchVkuClosure()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -235,6 +235,10 @@ QuickControls.ApplicationWindow {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
QuickControls.ScrollBar.vertical: QuickControls.ScrollBar {
|
||||
policy: size > 0 && size < 1 ? QuickControls.ScrollBar.AlwaysOn : QuickControls.ScrollBar.AsNeeded
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user