Bug: Table row font doesn't work on iPhone
I've seen this issue in my own app (using Titanium Mobile 1.3), but I'll use the KitchenSink so that you know it's not elsewhere in my code. I'm altering the font size but it has no effect on the iPhone (SDK 3.1.3)
It looks fine on Android (screenshot below).
Line 10 of table_view_layout.js… altered fontSize to 8…
{title:'Play Movie',backgroundImage:'../images/tableview/off_1.png',
color:'black',
font:{fontSize:8,fontWeight:'bold'},
selectedBackgroundImage:'../images/tableview/on_1.png', leftImage: '../images/tableview/phone_playmovie.png'},
3 Answers
-
Accepted Answer
Ooooo I didn't think this was possible. I thought I was just doing it wrong. I'll submit a feature request since I'm a subscriber.
-
Yea the font property didn't work for me. I ended up creating a label inside of the row and changing the font for the label
-
I may be wrong, but I thought it wasn't possible to modify the appearance of the "Title" attribute of a tableview row. In order to customize text in a tableview row, you have to use Labels.