Sassan
Sassan

Reputation: 2339

How to make items af a ListView float (like in CSS)

In QML, you can decorate items of a listview vertically or horizontally. But is it possible to make items float like what we do in css? I mean something like this:
________________
| Item1 Item2 Item3 |
| Item4 Item5 Item6 |
| Item7                    |
|
_______________|

Upvotes: 0

Views: 387

Answers (1)

Sassan
Sassan

Reputation: 2339

The solution was easy, adding for other people with the same problem: There is another component for this usage called GridView, it does exactly the job.

Upvotes: 1

Related Questions