Fix bug debug instance button not visible in PouInstanceVariablesPanel when instance path is too long
authorlaurent
Tue, 11 Sep 2012 16:30:42 +0200
changeset 821 3667bb14aeca
parent 820 d981fe154c36
child 822 050045c32d98
Fix bug debug instance button not visible in PouInstanceVariablesPanel when instance path is too long
controls/PouInstanceVariablesPanel.py
--- a/controls/PouInstanceVariablesPanel.py	Tue Sep 11 01:06:59 2012 +0200
+++ b/controls/PouInstanceVariablesPanel.py	Tue Sep 11 16:30:42 2012 +0200
@@ -42,7 +42,7 @@
         self.Bind(wx.EVT_BUTTON, self.OnParentButtonClick, 
                 self.ParentButton)
         
-        self.InstanceChoice = wx.ComboBox(self, style=wx.CB_READONLY)
+        self.InstanceChoice = wx.ComboBox(self, size=wx.Size(0, 0), style=wx.CB_READONLY)
         self.Bind(wx.EVT_COMBOBOX, self.OnInstanceChoiceChanged,
                 self.InstanceChoice)
         self.InstanceChoice.Bind(wx.EVT_LEFT_DOWN, self.OnInstanceChoiceLeftDown)