Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

[Solved] ListView -- Change color of current item text when moving to new item

$
0
0
Hi, I developed my delegate this way to accomplish it …   Component {    id: categoryDelegate      Text {     id: delText     x: 25;     color: ListView.isCurrentItem ? "white" : "red"     text: name;     font.family: openSansReg.name     font.pointSize: 36     Behavior on color { ColorAnimation {duration: 200 }}    }   }

Viewing all articles
Browse latest Browse all 4972

Trending Articles