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

Apply style to an object created in controler ?

$
0
0

Hi!

I use Alloy and I know we can add styles in *.tss file and it makes link with the components in *.xml.

In my controller I created a tableView and I changed some proprieties of styles. I also add row, labels and buttons. I declared the styles in my controller and I don't like that..

bold__How can I apply a style to an object created in the controller ?__bold

bold__My TableView is filled dynamically. Can I declare it with his own components (row, labels, buttons, image) in Alloy (*.xml) ? __bold

I would like to take advantage of Alloy and MVC but acctually...my Views and Styles are quite empty. Eveything is in the Controllers..

Thank you


Viewing all articles
Browse latest Browse all 8068

Trending Articles



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