Titanium Community Questions & Answer Archive

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

Info-Button on tableViewRow

I intend to have a info-button at the right side of a tableviewrow. the problem is that die button is empty. here is my code:

var info = Titanium.UI.createButton({
    systemButton:Titanium.UI.iPhone.SystemButton.INFO_LIGHT
});

myRow.add(info);

have anybody experienced same issues? i have no idea why the button is empty.

win.setRightNavButton(info)

is working fine :/

cheers

— asked November 8th 2010 by dev 1605
  • button
  • tableview
  • tableviewrow
0 Comments

1 Answer

  • I suspect you are drawing a light button on a light background

    Also the code you posted is wrong, it should be "style" not "systemButton"

    var info = Titanium.UI.createButton({
        style:Titanium.UI.iPhone.SystemButton.INFO_LIGHT
    });
    
    — answered November 9th 2010 by Aaron Saunders
    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.