diff -r 361389f3ad2b -r e00ce7077bfc controls/PouInstanceVariablesPanel.py --- a/controls/PouInstanceVariablesPanel.py Mon May 21 18:49:49 2012 +0200 +++ b/controls/PouInstanceVariablesPanel.py Mon May 21 18:50:16 2012 +0200 @@ -179,6 +179,8 @@ for button in buttons: panel_sizer.AddWindow(button, 0, border=4, flag=wx.LEFT) + panel_sizer.Layout() + else: panel.Destroy() panel = None