Community Questions & Answers

Create/Remove labels dynamically

So, I have like a search engine that returns answers to a word or words that are searched. This answer comes as json and has dynamic length. I want to create as much labels as answers I have. E.g.: I search house, I get three answers, I create three...

Change a class dynamically

Hi, Do you know if it's possible to change dynamically the classes associated to a TabViewRow (or any other kind of view)? I have tried : ~~~ row = Ti.UI.createTableViewRow({ classNames: ['class1', 'class2'] }); row.classNames = ['class3',...

Dynamically change font size, etc.

Okay I am sure this is simple but for the life of me I cannot figure out how to change the font dynamically like I would change the text: ~~~ label.text = 'new words'; ~~~ But how would you do that with the font size? ~~~ label.font=...

Dynamically populate a ScrollView

Hey there. I created some popovers with ScrollViews in them. These work but instead of populating the scrollview with images by hand, I want to populate it dynamically by getting the images out of an array and place them next to each other in the...

Showing 1-16 of 16