editors/CodeFileEditor.py
changeset 1152 0a8fbd2a00f7
parent 1150 b1c84771e1cf
child 1161 2d6ec60c48de
--- a/editors/CodeFileEditor.py	Thu May 16 00:01:09 2013 +0200
+++ b/editors/CodeFileEditor.py	Thu May 16 00:31:07 2013 +0200
@@ -641,7 +641,7 @@
             setattr(self, name, button)
             controls_sizer.AddWindow(button, border=5, flag=wx.RIGHT)
         
-        self.VariablesGrid = CustomGrid(self, size=wx.Size(-1, 300), style=wx.VSCROLL)
+        self.VariablesGrid = CustomGrid(self, style=wx.VSCROLL)
         self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_CHANGE, self.OnVariablesGridCellChange)
         self.VariablesGrid.Bind(wx.grid.EVT_GRID_CELL_LEFT_CLICK, self.OnVariablesGridCellLeftClick)
         self.VariablesGrid.Bind(wx.grid.EVT_GRID_EDITOR_SHOWN, self.OnVariablesGridEditorShown)