classpath-patches
[Top][All Lists]
Advanced

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

Re: [cp-patches] RFC: Fix for JComboBox drop down list


From: Lillian Angel
Subject: Re: [cp-patches] RFC: Fix for JComboBox drop down list
Date: Fri, 30 Sep 2005 14:53:55 -0400

> 2005-09-29  David Gilbert  <address@hidden>
> 
>     * javax/swing/JPopupMenu.java
>     (setVisible): use current size, not preferred size, when checking for
>     screen edge,

Actually, you should use the preferredSize. This gets the preferredSize
of each menuitem- which returns the size with the correct spacing for
the accelerators, icons etc. By doing this, the menu's will be painted
at the correct size.

I fixed this and I will commit it soon.





reply via email to

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