gvSIG CE/SEXTANTE: Bug Tracker (MantisBT) - gvSIG Community Edition
View Issue Details
0000091gvSIG Community EditionGraphical User Interface (GUI)public2011-07-03 13:102013-07-21 09:29
benducke 
benducke 
normaltweakN/A
resolvedfixed 
gvSIG OADE 2010 1.0 
gvSIG CE 1.0.0gvSIG CE (trunk) 
0000091: Add a better resize handle to MDI windows
We need to add a resize handler icon to the lower-right corner of all MDI windows. The current default MDI windows theme makes it too hard to resize Windows. This is especially frustrating with View windows.
No tags attached.
? jgoodies-common-1.6.0.jar (31,348) 2013-07-21 09:28
http://gvsigce.sourceforge.net/mantis/file_download.php?file_id=86&type=bug
? jgoodies-looks-2.5.3.jar (408,530) 2013-07-21 09:29
http://gvsigce.sourceforge.net/mantis/file_download.php?file_id=87&type=bug
Issue History
2011-07-03 13:10benduckeNew Issue
2012-05-23 20:43benduckeNote Added: 0000123
2012-05-23 20:56spatialjoeNote Added: 0000125
2012-08-11 08:44benduckeNote Added: 0000167
2013-07-14 19:58benduckeNote Added: 0000240
2013-07-14 19:58benduckeStatusnew => resolved
2013-07-14 19:58benduckeFixed in Version => gvSIG CE (trunk)
2013-07-14 19:58benduckeResolutionopen => fixed
2013-07-14 19:58benduckeAssigned To => benducke
2013-07-21 09:27josecanalejoNote Added: 0000243
2013-07-21 09:28josecanalejoFile Added: jgoodies-common-1.6.0.jar
2013-07-21 09:29josecanalejoFile Added: jgoodies-looks-2.5.3.jar

Notes
(0000123)
benducke   
2012-05-23 20:43   
One easy fix would be to add a status bar area to both the View and Map MDI windows (the Table windows have one already). This would give the user some "pixel tolerance" for grabbing the lower right corner and resizing the window. Most Java themes should add a resize handle to the status bar automatically. We would just need to find something useful to display in the status bar for each window...
(0000125)
spatialjoe   
2012-05-23 20:56   
Not sure about this one:
Double-clicking the top bar of the windows resizes them - easy to grab any corner to then adjust window size.
OTOH - the window bottom frame should at least be as wide as the sides. This probably solves the "grapping problem" already.
(0000167)
benducke   
2012-08-11 08:44   
Things like window frame width are up to the Java Swing theme to control, we cannot do that directly. The only way to guarantee a large enough resize handle is to add a status bar to the window. One useful other thing to do with the extra space would be to provide scaling and SRS information per data view instead of per project view.
(0000240)
benducke   
2013-07-14 19:58   
We now have a modified version of JGoodies Looks in the SVN that provides much better frame borders for internal windows (class JInternalFrame). The default border width is 6 pixels, but this can be configured by setting the -DPlastic.resizableWindowsBorderWidth=[INT] system property.
(0000243)
josecanalejo   
2013-07-21 09:27   
To install the update:

1. Make sure that you are actually using the "Plastic XP" Look & Feel (check the gvSIG CE settings under "General->Appearance").

2. Exit gvSIG CE.

3. Browse to "gvSIG/bin/lib" There should be a file named "looks-2.1.4.jar". Delete that file. Then put the two JARs attached here (jgoodies-common-1.6.0.jar and jgoodies-looks-2.5.3.jar) into the same folder.

4. Restart gvSIG CE.

5. Create a new data View. You should see the difference immediately. The broader window borders apply to all resizable internal windows in gvSIG CE (views, maps, attribute tables, etc.).