Titanium Community Questions & Answer Archive

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

headerView huge bottom margin

Hey there,

I'm using tableview's headerView feature. However, whenever I do assign a view. The actual tableview is pushed way down, and there appears to be a huge margin below the view and the tableview. Is this a common feature, because it's happened everytime I use this feature in my project. If so, does anyone know how to resolve it?

Thanks

— asked October 28th 2010 by Connor Zwick
  • bottom
  • headerview
  • margin
0 Comments

2 Answers

  • I also met this issue. The margin exists between the headerview and the table data row. But in my case, the margin is not very huge. It still affect the appearance.

    — answered June 22nd 2011 by Leoncin Lee
    permalink
    1 Comment
    • I also tried to set a definite height, the spacing will disappear. if 'auto' height is used, the spacing appears.

      — commented June 22nd 2011 by Leoncin Lee
  • For some reason, whatever you assign as a headerView or footerView has to have a defined height. As Leoncin Lee says, 'auto' doesn't seem to have the desired effect.

    — answered August 31st 2011 by Phil Piper
    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.