Important: Please read the Qt Code of Conduct -

Next item

  • 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;


Log in to reply