Listview is not properly working


My ListView is not probably working as it seems. How do I get some sort of padding in my listview?

Also, look at the left and the right side. The listview borders are not centered properly.


My code:

< ListView items="{{ groceryList }}">
< ListView.itemTemplate>
< Label text="{{ name || ‘Downloading…’ }}" class=“title” />
< /ListView.itemTemplate>
< /ListView>

Tried several things, put it in a GridLayout and so on, not working properly…