forked from Shinonome/dots-hyprland
use StyledListView for SelectionDialog
This commit is contained in:
@@ -63,7 +63,7 @@ Item {
|
|||||||
Layout.rightMargin: dialogPadding
|
Layout.rightMargin: dialogPadding
|
||||||
}
|
}
|
||||||
|
|
||||||
ListView {
|
StyledListView {
|
||||||
id: choiceListView
|
id: choiceListView
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
@@ -71,9 +71,6 @@ Item {
|
|||||||
currentIndex: root.defaultChoice !== undefined ? root.items.indexOf(root.defaultChoice) : -1
|
currentIndex: root.defaultChoice !== undefined ? root.items.indexOf(root.defaultChoice) : -1
|
||||||
spacing: 6
|
spacing: 6
|
||||||
|
|
||||||
maximumFlickVelocity: 3500
|
|
||||||
boundsBehavior: Flickable.DragOverBounds
|
|
||||||
|
|
||||||
model: ScriptModel {
|
model: ScriptModel {
|
||||||
id: choiceModel
|
id: choiceModel
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user