taoujouti / macwidgets

Automatically exported from code.google.com/p/macwidgets
0 stars 0 forks source link

SourceListControlBar does not respect the min/max divider location #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The internal mouse listener used to set the divider location does not check
for min/max divider position. 

Suggested Fix:
add

newLocation = Math.max(newLocation,fSplitPane.getMinimumDividerLocation());
newLocation = Math.min(newLocation,fSplitPane.getMaximumDividerLocation());

in the mouseDragged() method before the new location is set.

Original issue reported on code.google.com by thasso.g...@gmail.com on 30 Mar 2009 at 6:34

GoogleCodeExporter commented 9 years ago

Original comment by kenneth....@gmail.com on 30 Mar 2009 at 6:52

GoogleCodeExporter commented 9 years ago
I've updated SourceListControlBar accordingly. Please verify the fix in the 
attached jar file.

Original comment by kenneth....@gmail.com on 30 Mar 2009 at 11:44

Attachments:

GoogleCodeExporter commented 9 years ago
Confirmed. Works as expected.

Original comment by thasso.g...@gmail.com on 31 Mar 2009 at 9:44