Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

listview items in ios overlap

$
0
0

Hi,

I have a problem where I cannot set horizontal layout for listview rows in iOS. And if I don't set the left property of each item in the row they overlap.

For Android the same code works well.

This is how the row item looks like: var row = { id: customerModel.id, orderBy: name, name: {text: name}, mobile: {text: mobile}, gender: {text: gender}, birthDate: {text: birthDate}, properties: {height: Ti.UI.SIZE} };

and this is the template:

<ListView id="listviewCustomers" defaultItemTemplate="template" onItemclick="onListViewCustomersItemClick"> <ListSection id="listsectionCustomers"> </ListSection> <Templates> <ItemTemplate name="template" id="listviewDefaultItemTemplate"> <Label bindId="name" class="listItem"/> <Label bindId="mobile" class="listItem"/> <Label bindId="gender" class="listItem"/> <Label bindId="birthDate" class="listItem"/> </ItemTemplate> </Templates> </ListView>

Is there other way of positioning items in rows rather than specifying left property for each item?


Viewing all articles
Browse latest Browse all 8068

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>