Fixed SplitterWindows sash position at creation when subindextable is used in notebook tab
authorLaurent Bessard
Tue, 14 May 2013 20:22:06 +0200
changeset 785 b72a88dbc7c3
parent 784 8aefbd0d39ff
child 786 8dbe0aec4f36
child 787 e13fa74d169c
Fixed SplitterWindows sash position at creation when subindextable is used in notebook tab
objdictgen/subindextable.py
--- a/objdictgen/subindextable.py	Wed May 08 09:14:59 2013 +0200
+++ b/objdictgen/subindextable.py	Tue May 14 20:22:06 2013 +0200
@@ -521,6 +521,9 @@
             self.IndexChoice.Disable()
             self.CallbackCheck.Disable()
             self.Table.Disable()
+            
+        wx.CallAfter(self.SetSashPosition, 110)
+        wx.CallAfter(self.SecondSplitter.SetSashPosition, 280)
 
     def GetIndex(self):
         return self.Index