[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: BorderLayout fixes JMenu strange size reduction.
From: |
Anthony Balkissoon |
Subject: |
[cp-patches] FYI: BorderLayout fixes JMenu strange size reduction. |
Date: |
Wed, 20 Jul 2005 16:32:53 -0400 |
This patch is committed.
-Tony
On Wed, 2005-07-20 at 11:18 -0400, Anthony Balkissoon wrote:
> This patch fixes the strange size reduction seen in Robert Schuster's
> license chooser program and reported to bug-classpath.
>
> This patch essentially removes the horizontal and vertical padding of
> components when there is no adjacent component. The problem involved
> JRootPane being resized everytime its JLayeredPane was resized: the
> JLayeredPane would be set to the full size of the JRootPane only to have
> the JRootPane be reduced in size due to this padding issue.
>
> This patch needs approval, especially since it involves an AWT layout
> manager rather than my normal swing widgets.
>
> Patch is attached.
>
> 2005-07-20 Anthony Balkissoon <address@hidden>
>
> * java/awt/BorderLayout.java:
> (layoutContainer): Removed addition of horizontal and vertical gaps
> when there is no corresponding adjacent component.
> _______________________________________________
> Classpath-patches mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/classpath-patches
JMenuStrangeResize.diff
Description: Text Data