From 42034ecb4037ecb7f000f10d8702f5c6a72af5f2 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 18 Jul 2012 11:54:26 +0200 Subject: [PATCH] Autosize the main frame to workaround inconsistencies among wxGTK setups --- lib/Slic3r/GUI.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Slic3r/GUI.pm b/lib/Slic3r/GUI.pm index da25b6208..d8f839658 100644 --- a/lib/Slic3r/GUI.pm +++ b/lib/Slic3r/GUI.pm @@ -121,6 +121,7 @@ sub OnInit { $event->Skip; }); + $frame->Fit; $frame->SetMinSize($frame->GetSize); $frame->Show; $frame->Layout;