PLCOpenEditor.py
changeset 315 20e169c8efe9
parent 313 9266d1e6e3d4
child 317 bb25a8edd3e4
--- a/PLCOpenEditor.py	Mon Mar 02 09:29:22 2009 +0100
+++ b/PLCOpenEditor.py	Thu Mar 05 16:56:30 2009 +0100
@@ -2346,7 +2346,7 @@
 
     def OnRemovePouMenu(self, event):
         selected = self.TypesTree.GetSelection()
-        if self.TypesTree.GetPyData(selected) == ITEM_POU: 
+        if self.TypesTree.GetPyData(selected) == ITEM_POU:
             name = self.TypesTree.GetItemText(selected)
             if not self.Controler.PouIsUsed(name, self.Debug):
                 self.Controler.ProjectRemovePou(name)
@@ -2828,7 +2828,7 @@
 
         self.Language = wx.ComboBox(id=ID_PROJECTDIALOGLANGUAGE,
               name='Language', parent=self.MiscellaneousPanel, pos=wx.Point(0, 0),
-              size=wx.Size(0, 28), style=wx.CB_READONLY)
+              size=wx.Size(0, 24), style=wx.CB_READONLY)
 
         self.staticText11 = wx.StaticText(id=ID_PROJECTDIALOGSTATICTEXT11,
               label='Content Description (optional):', name='staticText11', parent=self.MiscellaneousPanel,
@@ -3056,7 +3056,7 @@
 
         self.PouType = wx.ComboBox(id=ID_POUDIALOGPOUTYPE,
               name='POUType', parent=self, pos=wx.Point(0, 0),
-              size=wx.Size(0, 28), style=wx.CB_READONLY)
+              size=wx.Size(0, 24), style=wx.CB_READONLY)
         self.Bind(wx.EVT_COMBOBOX, self.OnTypeChanged, id=ID_POUDIALOGPOUTYPE)
 
         self.staticText3 = wx.StaticText(id=ID_POUDIALOGSTATICTEXT3,
@@ -3065,7 +3065,7 @@
 
         self.Language = wx.ComboBox(id=ID_POUDIALOGLANGUAGE,
               name='Language', parent=self, pos=wx.Point(0, 0),
-              size=wx.Size(0, 28), style=wx.CB_READONLY)
+              size=wx.Size(0, 24), style=wx.CB_READONLY)
         
         self.ButtonSizer = self.CreateButtonSizer(wx.OK|wx.CANCEL|wx.CENTRE)
         self.Bind(wx.EVT_BUTTON, self.OnOK, id=self.ButtonSizer.GetAffirmativeButton().GetId())
@@ -3228,7 +3228,7 @@
 
         self.Language = wx.ComboBox(id=ID_POUTRANSITIONDIALOGLANGUAGE,
               name='Language', parent=self, pos=wx.Point(0, 0),
-              size=wx.Size(0, 28), style=wx.CB_READONLY)
+              size=wx.Size(0, 24), style=wx.CB_READONLY)
         
         self.ButtonSizer = self.CreateButtonSizer(wx.OK|wx.CANCEL|wx.CENTRE)
         self.Bind(wx.EVT_BUTTON, self.OnOK, id=self.ButtonSizer.GetAffirmativeButton().GetId())
@@ -3367,7 +3367,7 @@
 
         self.Language = wx.ComboBox(id=ID_POUACTIONDIALOGLANGUAGE,
               name='Language', parent=self, pos=wx.Point(0, 0),
-              size=wx.Size(0, 28), style=wx.CB_READONLY)
+              size=wx.Size(0, 24), style=wx.CB_READONLY)
         
         self.ButtonSizer = self.CreateButtonSizer(wx.OK|wx.CANCEL|wx.CENTRE)
         self.Bind(wx.EVT_BUTTON, self.OnOK, id=self.ButtonSizer.GetAffirmativeButton().GetId())
@@ -3983,7 +3983,7 @@
 
         self.ReturnType = wx.ComboBox(id=ID_VARIABLEEDITORPANELRETURNTYPE,
               name='ReturnType', parent=self, pos=wx.Point(0, 0),
-              size=wx.Size(145, 28), style=wx.CB_READONLY)
+              size=wx.Size(145, 24), style=wx.CB_READONLY)
         self.Bind(wx.EVT_COMBOBOX, self.OnReturnTypeChanged, id=ID_VARIABLEEDITORPANELRETURNTYPE)
 
         self.staticText2 = wx.StaticText(id=ID_VARIABLEEDITORPANELSTATICTEXT2,
@@ -3992,7 +3992,7 @@
 
         self.ClassFilter = wx.ComboBox(id=ID_VARIABLEEDITORPANELCLASSFILTER,
               name='ClassFilter', parent=self, pos=wx.Point(0, 0),
-              size=wx.Size(145, 28), style=wx.CB_READONLY)
+              size=wx.Size(145, 24), style=wx.CB_READONLY)
         self.Bind(wx.EVT_COMBOBOX, self.OnClassFilter, id=ID_VARIABLEEDITORPANELCLASSFILTER)
 
         self.VariablesGrid = wx.grid.Grid(id=ID_VARIABLEEDITORPANELVARIABLESGRID,