native: remove hilighting

This commit is contained in:
Johannes Jöns 2024-07-10 10:12:54 +02:00
parent 9c81b22c02
commit a3e6cabef8
2 changed files with 24 additions and 4 deletions

View file

@ -13,4 +13,20 @@ ListModel {
name: "Sam Wise"
number: "555 0473"
}
ListElement {
name: "Sam Wise"
number: "555 0473"
}
ListElement {
name: "Sam Wise"
number: "555 0473"
}
ListElement {
name: "Sam Wise"
number: "555 0473"
}
ListElement {
name: "Sam Wise"
number: "555 0473"
}
}

View file

@ -36,8 +36,14 @@ Window {
Item {
width: 180; height: 40
Column {
Text { text: '<b>Name:</b> ' + name }
Text { text: '<b>Number:</b> ' + number }
Text {
text: '<b>Name:</b> ' + name
color: getColors().text
}
Text {
text: '<b>Number:</b> ' + number
color: getColors().text
}
}
}
}
@ -46,8 +52,6 @@ Window {
anchors.fill: parent
model: Data {}
delegate: contactDelegate
highlight: Rectangle { color: getColors().highlight; radius: 5 }
focus: true
}
}
}