Qt 6.11 is out! See what's new in the release
blog
Next item
QML and Qt Quick
2
Posts
2
Posters
1.2k
Views
1
Watching
-
i'm making a listview and i want to change the width of the next item and let the other items with el normal width can i do it using qml
-
Sure. Set currentIndex in your listview, to the currently selected item. In your delegate, do something like: width: (view.currentIndex == (index-1)) ? bigWidth : normalWidth;
Cheers,
Chris.