This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug SWING/16697] javax.swing.BoxLayout only wraps GridLayout
- From: "roman at ontographics dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jul 2004 00:52:44 -0000
- Subject: [Bug SWING/16697] javax.swing.BoxLayout only wraps GridLayout
- References: <20040723230933.16697.roman@ontographics.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From roman at ontographics dot com 2004-07-24 00:52 -------
Created an attachment (id=6817)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6817&action=view)
proposed patch
Here comes the fix for this problem. With this, the BoxLayout does the layout
computation on its on, without relying on GridLayout.
It works pretty good here, but some other components that used BoxLayout and
relied on the old behaviour (like JOptionPane) may need to be adjusted.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16697