2014-10-05, 11:42
I have a couple of questions about the ListItem object
#1
How can I change the background color (or text color) of a specific ListItem?
#2
Where can I find the properties associated with a ListItem object? For example, there is a ListItem method called setProperty that takes a key (property name) and a value as it's input. Is there a list of valid properties on the wiki somewhere? The example on the ListItem API page gives this example...
That tells me that AspectRatio and StartOffset are valid properties. How can I find the other valid properties? Thanks.
#1
How can I change the background color (or text color) of a specific ListItem?
#2
Where can I find the properties associated with a ListItem object? For example, there is a ListItem method called setProperty that takes a key (property name) and a value as it's input. Is there a list of valid properties on the wiki somewhere? The example on the ListItem API page gives this example...
Code:
self.list.getSelectedItem().setProperty('AspectRatio', '1.85 : 1')
self.list.getSelectedItem().setProperty('StartOffset', '256.4')
That tells me that AspectRatio and StartOffset are valid properties. How can I find the other valid properties? Thanks.