classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Patch: BasicMenuItemUI fix


From: Lillian Angel
Subject: [cp-patches] Patch: BasicMenuItemUI fix
Date: Mon, 07 Nov 2005 09:44:48 -0500

This fixes bug 24651. The menu's width was being increased each time it
was opened. This is now fixed.

2005-11-07  Lillian Angel  <address@hidden>

        * javax/swing/plaf/basic/BasicMenuItemUI.java
        (getPreferredMenuItemSize): Adjusted width of menu item with
        arrow icon. If the menu item can fit in the current width of
        the top level menu, then the width of the menu item is set to
        the width of the popup menu. Otherwise, the width of the
        menu item is adjusted so that the width of the popup menu
        is increased.

Attachment: patch.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]