# HG changeset patch # User etisserant # Date 1184950786 -7200 # Node ID 2675bf9b0a01cc36098a7069f5b9284d35343d40 # Parent 2b2f8d88e6d382af8cf6694d805b9570292c1fbb *** empty log message *** diff -r 2b2f8d88e6d3 -r 2675bf9b0a01 PLCOpenEditor.py --- a/PLCOpenEditor.py Fri Jul 20 18:28:03 2007 +0200 +++ b/PLCOpenEditor.py Fri Jul 20 18:59:46 2007 +0200 @@ -2077,18 +2077,18 @@ # generated method, don't edit parent.AddWindow(self.staticText1, 0, border=0, flag=wxALIGN_BOTTOM) + parent.AddWindow(self.ReturnType, 0, border=0, flag=0) parent.AddWindow(self.staticText2, 0, border=0, flag=wxALIGN_BOTTOM) - parent.AddWindow(self.ReturnType, 0, border=0, flag=0) parent.AddWindow(self.ClassFilter, 0, border=0, flag=0) def _init_coll_ButtonPanelSizer_Items(self, parent): # generated method, don't edit + parent.AddWindow(self.UpButton, 0, border=0, flag=0) parent.AddWindow(self.AddButton, 0, border=0, flag=0) + parent.AddWindow(self.DownButton, 0, border=0, flag=0) parent.AddWindow(self.DeleteButton, 0, border=0, flag=0) - parent.AddWindow(self.UpButton, 0, border=0, flag=0) - parent.AddWindow(self.DownButton, 0, border=0, flag=0) - + def _init_coll_ButtonPanelSizer_Growables(self, parent): # generated method, don't edit @@ -2104,11 +2104,11 @@ self.VariablePanelSizer = wx.FlexGridSizer(cols=2, hgap=10, rows=1, vgap=0) - self.ControlPanelSizer = wx.FlexGridSizer(cols=1, hgap=0, rows=2, vgap=0) - - self.ChoicePanelSizer = wx.GridSizer(cols=2, hgap=5, rows=2, vgap=5) - - self.ButtonPanelSizer = wx.FlexGridSizer(cols=4, hgap=5, rows=1, vgap=0) + self.ControlPanelSizer = wx.FlexGridSizer(cols=1, hgap=0, rows=2, vgap=10) + + self.ChoicePanelSizer = wx.GridSizer(cols=1, hgap=5, rows=4, vgap=5) + + self.ButtonPanelSizer = wx.FlexGridSizer(cols=2, hgap=5, rows=2, vgap=0) self._init_coll_MainPanelSizer_Items(self.MainPanelSizer) self._init_coll_MainPanelSizer_Growables(self.MainPanelSizer) @@ -2167,7 +2167,7 @@ self.VariablesGrid = wx.grid.Grid(id=wxID_POUEDITORPANELVARIABLESGRID, name='VariablesGrid', parent=self, pos=wx.Point(0, 0), - size=wx.Size(-1, 150), style=wxVSCROLL) + size=wx.Size(0, 150), style=wxVSCROLL) self.VariablesGrid.SetFont(wx.Font(12, 77, wx.NORMAL, wx.NORMAL, False, 'Sans')) self.VariablesGrid.SetLabelFont(wx.Font(10, 77, wx.NORMAL, wx.NORMAL,