increase height of some dialog windows so they have enough space for buttons
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Thu, 21 Apr 2016 17:44:17 +0300
changeset 1493 6dbebfcec074
parent 1492 14ce1a631f44
child 1494 00910a8572d9
increase height of some dialog windows so they have enough space for buttons
dialogs/LDElementDialog.py
dialogs/PouActionDialog.py
dialogs/PouTransitionDialog.py
dialogs/SFCStepDialog.py
--- a/dialogs/LDElementDialog.py	Thu Apr 21 17:41:43 2016 +0300
+++ b/dialogs/LDElementDialog.py	Thu Apr 21 17:44:17 2016 +0300
@@ -50,7 +50,7 @@
         @param type: Type of LD element ('contact or 'coil')
         """
         BlockPreviewDialog.__init__(self, parent, controller, tagname, 
-              size=wx.Size(350, 280 if type == "contact" else 330),
+              size=wx.Size(350, 320 if type == "contact" else 380),
               title=(_("Edit Contact Values")
                      if type == "contact"
                      else _("Edit Coil Values")))
--- a/dialogs/PouActionDialog.py	Thu Apr 21 17:41:43 2016 +0300
+++ b/dialogs/PouActionDialog.py	Thu Apr 21 17:44:17 2016 +0300
@@ -34,7 +34,7 @@
 class PouActionDialog(wx.Dialog):
     
     def __init__(self, parent):
-        wx.Dialog.__init__(self, parent, size=wx.Size(320, 160), 
+        wx.Dialog.__init__(self, parent, size=wx.Size(320, 200), 
               title=_('Create a new action'))
         
         main_sizer = wx.FlexGridSizer(cols=1, hgap=0, rows=2, vgap=10)
--- a/dialogs/PouTransitionDialog.py	Thu Apr 21 17:41:43 2016 +0300
+++ b/dialogs/PouTransitionDialog.py	Thu Apr 21 17:44:17 2016 +0300
@@ -38,7 +38,7 @@
 class PouTransitionDialog(wx.Dialog):
     
     def __init__(self, parent):
-        wx.Dialog.__init__(self, parent, size=wx.Size(350, 160),
+        wx.Dialog.__init__(self, parent, size=wx.Size(350, 200),
               title=_('Create a new transition'))
         
         main_sizer = wx.FlexGridSizer(cols=1, hgap=0, rows=2, vgap=10)
--- a/dialogs/SFCStepDialog.py	Thu Apr 21 17:41:43 2016 +0300
+++ b/dialogs/SFCStepDialog.py	Thu Apr 21 17:44:17 2016 +0300
@@ -46,7 +46,7 @@
         @param initial: True if step is initial (default: False)
         """
         BlockPreviewDialog.__init__(self,parent, controller, tagname,  
-              size=wx.Size(400, 250), title=_('Edit Step'))
+              size=wx.Size(400, 280), title=_('Edit Step'))
         
         # Init common sizers
         self._init_sizers(2, 0, 6, None, 2, 1)