classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: ScrollPaneLayout patch fixes part 1 of PR 23530


From: Anthony Balkissoon
Subject: [cp-patches] FYI: ScrollPaneLayout patch fixes part 1 of PR 23530
Date: Thu, 27 Oct 2005 15:02:08 -0400

The preferredLayoutSize method in ScrollPaneLayout was allocating space
for the scrollbars under the wrong conditions.  This was mentioned in
comment 1) in the bug report:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23530

This is fixed now.  Scrollbars should get space allocated when the
View's dimension is larger than the Viewport's dimension.

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

        * javax/swing/ScrollPaneLayout.java:
        (preferredLayoutSize): Fixed the conditions for allocating space for 
        the scrollbars.  Should allocate space if the View's dimension is 
        larger than the Viewport's dimension. This fixes the problem in 
        comment 1) for PR 23530.

Attachment: ScrollPaneLayoutPreferredLayoutSize.diff
Description: Text Data


reply via email to

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