mirror of
https://github.com/KDE/kasts.git
synced 2024-12-26 08:25:16 +01:00
Fix chapter dialog and list highlighting
This commit is contained in:
parent
9525bf075a
commit
fa40d2b4c6
@ -448,8 +448,6 @@ FocusScope {
|
||||
|
||||
Kirigami.Dialog {
|
||||
id: chapterOverlay
|
||||
preferredWidth: Kirigami.Units.gridUnit * 30
|
||||
preferredHeight: Kirigami.Units.gridUnit * 25
|
||||
|
||||
showCloseButton: false
|
||||
|
||||
@ -457,6 +455,12 @@ FocusScope {
|
||||
|
||||
ListView {
|
||||
id: chapterList
|
||||
|
||||
currentIndex: -1
|
||||
|
||||
implicitWidth: Kirigami.Units.gridUnit * 30
|
||||
implicitHeight: Kirigami.Units.gridUnit * 25
|
||||
|
||||
model: chapterModel
|
||||
delegate: ChapterListDelegate {
|
||||
id: chapterDelegate
|
||||
|
@ -266,8 +266,9 @@ Kirigami.ScrollablePage {
|
||||
ListView {
|
||||
visible: count !== 0
|
||||
Layout.fillWidth: true
|
||||
height: contentHeight
|
||||
implicitHeight: contentHeight
|
||||
interactive: false
|
||||
currentIndex: -1
|
||||
Layout.leftMargin: Kirigami.Units.gridUnit
|
||||
Layout.rightMargin: Kirigami.Units.gridUnit
|
||||
Layout.bottomMargin: Kirigami.Units.gridUnit
|
||||
|
Loading…
Reference in New Issue
Block a user