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

Listview on iOS does not respect seperatorStyle or seperatorColor properties

$
0
0

I grabbed the sample code for a listview from docs.appcelerator.com and created a small project. I then tried to hide the seperators every way possible but no luck. I have to assume this is a bug but wanted to make sure first in case I am doing something wrong?

XML

<ListView id="list">
    <ListSection>
        <ListItem title="List item 1"></ListItem>
        <ListItem title="List item 2"></ListItem>
        <ListItem title="List item 3"></ListItem>
    </ListSection>
</ListView>
TSS
"ListView" : {
    backgroundColor : 'yellow',
    seperatorStyle : Ti.UI.iPhone.ListViewSeparatorStyle.NONE,
    seperatorColor : 'red'
}
"ListSection" : {
    seperatorStyle : Ti.UI.iPhone.ListViewSeparatorStyle.NONE,
    seperatorColor : 'orange'
}
"ListItem" : {
    backgroundColor : 'yellow',
    seperatorStyle : Ti.UI.iPhone.ListViewSeparatorStyle.NONE,
    seperatorColor : 'green'
}
And here is an image of what it looks like:

https://www.dropbox.com/s/qy0jyc433y718e7/Screenshot%202015-03-06%2015.54.47.png

Ti Info: SDK 3.4.1 G.A. iOS simulator 8.1


Viewing all articles
Browse latest Browse all 8068

Trending Articles



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