[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] FYI: JSplitPane fix
From: |
Lillian Angel |
Subject: |
Re: [cp-patches] FYI: JSplitPane fix |
Date: |
Fri, 30 Sep 2005 12:54:58 -0400 |
A small fix to update the location to a valid spot.
2005-09-30 Lillian Angel <address@hidden>
* javax/swing/plaf/basic/BasicSplitPaneUI.java
(propertyChange): No reason to reset the layout manager here.
(setDividerLocation): Changed to check right component, not
left. Also, updated the location to a valid spot.
On Fri, 2005-09-30 at 12:22 -0400, Lillian Angel wrote:
> This fixes the SplitPanes dragging behavior for vertical and horizontal
> splitpanes.
>
> 2005-09-30 Lillian Angel <address@hidden>
>
> * javax/swing/plaf/basic/BasicSplitPaneUI.java
> (propertyChange): Added call to reset the layout manager
> whenever the size of the divider is changed.
> (setDividerLocation): Added adjustment to container
> sizes if the divider goes over the bottom/right side.
> Also, fixed the size of the right/top component.
> (validLocation): Added check for min/max location returned.
>
> _______________________________________________
> Classpath-patches mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/classpath-patches
patch.diff
Description: Text Data