chiark / gitweb /
Fix quickprint panel not resizing itself when new options require more space
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Thu, 30 Jul 2015 21:03:26 +0000 (17:03 -0400)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Thu, 30 Jul 2015 21:03:26 +0000 (17:03 -0400)
Cura/gui/simpleMode.py

index cced26753e417fd5a3066b21bfd8b28602b43d26..9b35a7b9bb57f8a536515552d489e3647cd909ae 100644 (file)
@@ -164,6 +164,7 @@ class simpleModePanel(wx.Panel):
                        boxsizer.Add(button)
                        button.Bind(wx.EVT_CHECKBOX, self._update)
                self.Layout()
+               self.GetParent().Fit()
 
                # Do not call the callback on the initial UI build
                if e is not None: