mirror of https://github.com/KDE/kasts.git
Add separators to ListViews and clean up ErrorList
This commit is contained in:
parent
a95c32d447
commit
deaf7ebbb5
|
@ -26,6 +26,7 @@ Kirigami.BasicListItem {
|
|||
|
||||
text: model.title
|
||||
subtitle: model.formattedStart
|
||||
separatorVisible: true
|
||||
|
||||
leading: ImageWithFallback {
|
||||
imageSource: model.chapter.cachedImage
|
||||
|
|
|
@ -45,6 +45,7 @@ Kirigami.ScrollablePage {
|
|||
Kirigami.SwipeListItem {
|
||||
id: listItem
|
||||
alwaysVisibleActions: true
|
||||
separatorVisible: true
|
||||
contentItem: RowLayout {
|
||||
ImageWithFallback {
|
||||
imageSource: model.image
|
||||
|
|
|
@ -19,6 +19,7 @@ ListView {
|
|||
|
||||
model: ErrorLogModel
|
||||
implicitHeight: errorList.count > 0 ? errorList.contentHeight : placeholder.height
|
||||
currentIndex: -1
|
||||
|
||||
Kirigami.PlaceholderMessage {
|
||||
id: placeholder
|
||||
|
@ -32,10 +33,10 @@ ListView {
|
|||
Component {
|
||||
id: errorListDelegate
|
||||
Kirigami.SwipeListItem {
|
||||
// workaround to get rid of "_swipeFilter" errors
|
||||
alwaysVisibleActions: true
|
||||
separatorVisible: true
|
||||
highlighted: false
|
||||
activeBackgroundColor: 'transparent'
|
||||
hoverEnabled: false
|
||||
contentItem: RowLayout {
|
||||
Kirigami.Icon {
|
||||
source: "data-error"
|
||||
|
|
Loading…
Reference in New Issue