tableview/tableviewrow text size
I am using an array to store tableviewrow data and then appending the row to the tableview.
data ={title:'Title',height:22};
tableview.appendRow(data);
This code is part of a loop, which is why I am using this approach. I was wondering if there is any way to adjust the text size of the title to display while using this approach? Some of my text is rathar long and is getting truncated while displaying.
1 Answer
-
Accepted Answer
You will need to create a custom row for this, with a label. And you will be able to set the font of the label.
Here is a tutorial on how to do it:http://cssgallery.info/custom-row-for-tableview-in-appcelerator-titanium/