From: Ricardo Markiewicz Date: Tue, 6 Dec 2005 17:32:44 +0000 (+0000) Subject: Ajusto el cambas al abrir. X-Git-Tag: darcs_import~1 X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/commitdiff_plain/b1b1cfeb329cedbf7bb89665fcda862a0e4fc46c Ajusto el cambas al abrir. --- diff --git a/viewer/main.cpp b/viewer/main.cpp index 8fcda79..e5cb24e 100644 --- a/viewer/main.cpp +++ b/viewer/main.cpp @@ -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); } }