[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] FYI: BasicIconFactory, BasicMenuItemUI
From: |
Lillian Angel |
Subject: |
Re: [cp-patches] FYI: BasicIconFactory, BasicMenuItemUI |
Date: |
Thu, 29 Sep 2005 12:36:27 -0400 |
> I think the menu item layout may be relying on the white space in the old
> icon, so
> the new positioning may not be entirely correct yet, but (for me at least)
> the menus
> look better now. Maybe someone (Roman/Lillian?) who knows the menu UI code
> better
> than I do could check that...
I fixed the positioning of the arrow icon. The gap was previously too
small between the text and the icon.
2005-09-29 Lillian Angel <address@hidden>
* javax/swing/plaf/basic/BasicMenuItemUI.java:
Added a new field for the gap between the icon and text.
(setPreferredMenuItemSize): Changed gap from defaultTextIconGap
to defaultTextArrowIconGap.
patch.diff
Description: Text Data