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