replace FlickableType with ListViewType in PageSettingsLogging

This commit is contained in:
Cyril Anisimov
2025-07-26 14:19:13 +02:00
parent 405bd70267
commit fbd5b0a20b
+8 -7
View File
@@ -23,9 +23,15 @@ PageType {
anchors.left: parent.left
anchors.right: parent.right
anchors.topMargin: 20
onFocusChanged: {
if (this.activeFocus) {
listView.positionViewAtBeginning()
}
}
}
ListView {
ListViewType {
id: listView
anchors.top: backButton.bottom
@@ -33,10 +39,6 @@ PageType {
anchors.right: parent.right
anchors.left: parent.left
property bool isFocusable: true
ScrollBar.vertical: ScrollBarType {}
header: ColumnLayout {
width: listView.width
@@ -101,8 +103,7 @@ PageType {
}
model: logTypes
clip: true
reuseItems: true
snapMode: ListView.SnapOneItem
delegate: ColumnLayout {