[Top][All Lists]

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

[cp-patches] FYI: JList fix fixes PR17360

From: Anthony Balkissoon
Subject: [cp-patches] FYI: JList fix fixes PR17360
Date: Wed, 26 Oct 2005 15:13:28 -0400

Fixed some problems with JList.getPreferredScrollableViewportSize that
fixed bug 17360.  However, similar bug 17362 is still open and I'll
start looking into that now, will hopefully fix it by tomorrow.

I also re-committed the ChangeLog after this because I had the wrong
date in the original entry.

2005-10-26  Anthony Balkissoon  <address@hidden>

        * javax/swing/
        (getPreferredScrollableViewportSize): Use the preferred width instead 
        of the width of the widest element.  This allows us to use the 
        user-specified preferred width if setPreferredSize was called.  Use 
        the height of the first row, not the first visible row, when 
        calculating the preferred height.  Added comments and made code cleaner
        and more readable.


Attachment: JListScrollableViewportSizeFix.diff
Description: Text Data

reply via email to

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