I want to create a list with Horizontal listview but vertical text. Just like this.
I have wrote the code,as following
ListView {
id: listView;
orientation: ListView.Horizontal
delegate: listDelegate;
ScrollBar.horizontal: bar
model: ListModel {
id: phoneModel;
ListElement{
name: "wewqeq";
}
ListElement{
name: "rrr";
}
ListElement{
name: "Engine auto stop";
}
ListElement{
name: "wewq";
}
ListElement{
name: "weweqwe";
}
}
}
My code showed the result that
- list item has Horizontal view, but the text is the same! How can i change the text orientation of ListElement?
- The bar is at the bottom side, how can i make it to top side?
My result like this
rotation: 90
– Mohammad Kanan