Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Reduce TableViewRow Font Size

Hey, everyone. I can't seem to figure out how to set the default font size on tableviewrows. Right now, it's a bit too large:

example

Where could I reduce the font size for this text?

Thanks!

— asked March 27th 2010 by Jeffrey Way
  • font
  • fontsize
  • size
  • tableviewrow
0 Comments

3 Answers

  • Accepted Answer

    Hi Jeffery,

    I ran into this same problem. I solved it by;

    1. creating a view
    2. creating a label with the appropriate font-size, color, etc
    3. Inserting the label into the view
    4. inserting the view into the row.

    The label object has much more flexibility in regards to formatting unlike table rows native title tag. Hope this helps.

    • Alex
    — answered March 27th 2010 by Alex Wolfe
    permalink
    0 Comments
  • Thanks, Alex!

    — answered March 27th 2010 by Jeffrey Way
    permalink
    0 Comments
  • Same problem; your answer is good but could I see your code ?

    — answered July 11th 2011 by John Mohan
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.