diff --git a/native/Data.qml b/native/Data.qml index f98527d..af97842 100644 --- a/native/Data.qml +++ b/native/Data.qml @@ -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" + } } diff --git a/native/Main.qml b/native/Main.qml index 8d709b7..f973044 100644 --- a/native/Main.qml +++ b/native/Main.qml @@ -36,8 +36,14 @@ Window { Item { width: 180; height: 40 Column { - Text { text: 'Name: ' + name } - Text { text: 'Number: ' + number } + Text { + text: 'Name: ' + name + color: getColors().text + } + Text { + text: 'Number: ' + 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 } } }