Forums Register Login

List Width?

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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.
To get a wish, you need a genie. To get a genie, you need a lamp. To get a lamp, you need a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 808 times.
Similar Threads
How do i disable scrollbars in List?
JavaScript regexp expression to replace String.
printf method
JSlider with moving Display Label with JSlider Label
width of List box in struts
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:54:03.