zebra list
This commit is contained in:
parent
218f556a98
commit
19e5a02d6e
4 changed files with 89 additions and 67 deletions
16
Sidebar.qml
16
Sidebar.qml
|
@ -31,13 +31,17 @@ ScrollView {
|
|||
spacing: 1
|
||||
model: item.server.posts
|
||||
|
||||
delegate: Component {
|
||||
PostListItem {}
|
||||
}
|
||||
delegate: PostListItem {}
|
||||
|
||||
highlight: Rectangle {
|
||||
color: "lightblue"
|
||||
opacity: 0.5
|
||||
highlightFollowsCurrentItem: false
|
||||
highlight: Component {
|
||||
Rectangle {
|
||||
width: listView.currentItem.width
|
||||
height: listView.currentItem.height
|
||||
color: "lightblue"
|
||||
opacity: 0.5
|
||||
y: listView.currentItem.y
|
||||
}
|
||||
}
|
||||
|
||||
onCurrentItemChanged: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue