Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • 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.
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!