• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

List Width?

 
Dan Temple
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a simple question that I can't find in the docs: What determines the width of a List component? There are no constructors that take width as a parameter.
Thanks in Advance
Dan
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dan,
IMO, the underlying layout sizes the list. If you use a null layout the list might use the largest initial string to size itself.
Regards,
Manfred.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic