]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blobdiff - viewer/main.cpp
Ajusto el cambas al abrir.
[z.facultad/75.52/treemulator.git] / 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);
                        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);
                }
        }
                        real_canvas->scroll_to (0, 0);
                }
        }