]> git.llucax.com Git - z.facultad/75.52/treemulator.git/commitdiff
Ajusto el cambas al abrir.
authorRicardo Markiewicz <rmarkie@fi.uba.ar>
Tue, 6 Dec 2005 17:32:44 +0000 (17:32 +0000)
committerRicardo Markiewicz <rmarkie@fi.uba.ar>
Tue, 6 Dec 2005 17:32:44 +0000 (17:32 +0000)
viewer/main.cpp

index 8fcda7911772d635bb716be697d6586fa18248d9..e5cb24eba9966e4100c8b732c3c6fe98f6365dfb 100644 (file)
@@ -131,6 +131,7 @@ void abrir_arbol ()
                        tree->AddNode (0);
                        double x1, x2, y1, y2;
                        tree->get_bounds (x1, y1, x2, y2);
+                       real_canvas->set_scroll_region (0, 0, 5000, 5000);
                        real_canvas->scroll_to (0, 0);
                }
        }