Re: [Aswing-users] JScrollPane and JList problem
Status: Alpha
Brought to you by:
iiley
From: William S. <fre...@te...> - 2006-09-21 19:37:41
|
thanks iiley, I just needed right now a feature like that =D the GridLayout solution worked great! =) regards William iiley escreveu: > the FlowLayout did right. > For your requement, a little complex, there's two way: > > 1. If you know the columns but don't know rows, you can do new > GridLayout(0, columns), if know rows but columns, new GridLayout(rows, > 0) > > 2. You can use FlowLayout, but you need to do some thing like this: > yourContainer.setLayout(new FlowLayout()); > var o:Object = yourContainer; > o.isTracksViewportWidth = function(){return true;}; > > Hope this can help you. :) |