increase height for ConnectionDialog and ArrayTypeDialog to have
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Wed, 20 Apr 2016 16:14:25 +0300
changeset 1487 789acd7cc347
parent 1486 f1f767545935
child 1488 00fb79aba7ac
increase height for ConnectionDialog and ArrayTypeDialog to have
enough place for buttons
dialogs/ArrayTypeDialog.py
dialogs/ConnectionDialog.py
--- a/dialogs/ArrayTypeDialog.py	Tue Apr 19 13:18:21 2016 +0300
+++ b/dialogs/ArrayTypeDialog.py	Wed Apr 20 16:14:25 2016 +0300
@@ -42,7 +42,7 @@
     
     def __init__(self, parent, datatypes, infos):
         wx.Dialog.__init__(self, parent,
-              size=wx.Size(500, 300), title=_('Edit array type properties'))
+              size=wx.Size(500, 350), title=_('Edit array type properties'))
         
         main_sizer = wx.FlexGridSizer(cols=1, hgap=0, rows=3, vgap=10)
         main_sizer.AddGrowableCol(0)
--- a/dialogs/ConnectionDialog.py	Tue Apr 19 13:18:21 2016 +0300
+++ b/dialogs/ConnectionDialog.py	Wed Apr 20 16:14:25 2016 +0300
@@ -49,7 +49,7 @@
         to all connector having the same name in POU (default: False)
         """
         BlockPreviewDialog.__init__(self, parent, controller, tagname, 
-              size=wx.Size(350, 220), title=_('Connection Properties'))
+              size=wx.Size(350, 250), title=_('Connection Properties'))
         
         # Init common sizers
         self._init_sizers(2, 0, 5, None, 2, 1)
@@ -216,4 +216,4 @@
         
         # Call BlockPreviewDialog function
         BlockPreviewDialog.RefreshPreview(self)
-        
\ No newline at end of file
+