Author Topic: list of buttons in Contener  (Read 2378 times)

deckard

  • Guest
list of buttons in Contener
« on: December 27, 2012, 10:28:48 AM »
Hello everyone!

I have a question:
how to organize a list of buttons of varying sizes to keep them in a Contener.



UIgrid: the problem is fixed but the width is the width of the buttons depends on the text.
Uitable: the problem is that if a button is too wide, the column creates a space too large buttons below

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: list of buttons in Contener
« Reply #1 on: December 27, 2012, 11:20:58 AM »
Well, you would usually do one of those two - either static sized cells (UIGrid) or dynamic cells (UITable). If they have to be arbitrarily wide, you have to either use UITable or set the UIGrid cellWidth and cellHeight after you know the contents (and then reposition).