Auar / flexvizgraphlib

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

Errors when the window is minimized #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to resize the window so that the graph area (width) is reduced to 0
(almost)
2.
3.

What is the expected output? What do you see instead?
The graph should readjust. Error messages pop-up

What version of the product are you using? On what operating system?
Latest version from SVN

Please provide any additional information below.
Seems to be a problem with most layouters

Original issue reported on code.google.com by ritwikmi...@gmail.com on 20 Nov 2007 at 7:34

GoogleCodeExporter commented 9 years ago
I use windows XP pro

Original comment by ritwikmi...@gmail.com on 20 Nov 2007 at 7:34

GoogleCodeExporter commented 9 years ago
Thanks a lot for the bug report. I know it is late, but I've fixed it. I added a
sanity check into the VisualGraph.draw() method as well as in the vgExplorer 
app, I
modified the handleResize() method to check on the linklength value. The slide 
was
sometimes reset to 0 if the window was made too small and would not chance 
again on
making it bigger. In this case it resets now to 100 (default).

Original comment by spo...@gmail.com on 21 Mar 2008 at 4:04