controls/ProjectPropertiesPanel.py
changeset 1696 8043f32de7b8
parent 1678 55b6db51eb63
child 1730 64d8f52bc8c8
--- a/controls/ProjectPropertiesPanel.py	Fri Jun 09 18:12:12 2017 +0300
+++ b/controls/ProjectPropertiesPanel.py	Mon Jun 19 18:49:43 2017 +0300
@@ -5,6 +5,7 @@
 # programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
 #
 # Copyright (C) 2012: Edouard TISSERANT and Laurent BESSARD
+# Copyright (C) 2017: Andrey Skvortsov <andrej.skvortzov@gmail.com>
 #
 # See COPYING file for copyrights details.
 #
@@ -61,7 +62,7 @@
                   flag=wx.GROW|border|wx.RIGHT)
 
     def __init__(self, parent, controller=None, window=None, enable_required=True):
-        wx.Notebook.__init__(self, parent, size=wx.Size(500, 300))
+        wx.Notebook.__init__(self, parent)
 
         self.Controller = controller
         self.ParentWindow = window
@@ -199,7 +200,7 @@
               flag=wx.BOTTOM|wx.LEFT)
         
         self.ContentDescription = wx.TextCtrl(self.MiscellaneousPanel, 
-              style=wx.TE_MULTILINE|wx.TE_PROCESS_ENTER)
+              size=wx.Size(240,150), style=wx.TE_MULTILINE|wx.TE_PROCESS_ENTER)
         self.Bind(wx.EVT_TEXT_ENTER, self.OnContentDescriptionChanged, 
               self.ContentDescription)
         self.ContentDescription.Bind(wx.EVT_KILL_FOCUS,