...
authorPierre Ratinaud <ratinaud@univ-tlse2.fr>
Mon, 15 Dec 2014 23:37:46 +0000 (00:37 +0100)
committerPierre Ratinaud <ratinaud@univ-tlse2.fr>
Mon, 15 Dec 2014 23:37:46 +0000 (00:37 +0100)
guifunct.py

index 54e4449..c26b7e9 100644 (file)
@@ -999,6 +999,8 @@ class CreateTgenDialog ( wx.Frame ):
         
         bSizer2 = wx.BoxSizer( wx.VERTICAL )
         
+        namesizer = wx.BoxSizer( wx.VERTICAL )
+        
         namepan = wx.Panel(self, -1)
         
         fgSizer3 = wx.FlexGridSizer( 0, 2, 0, 0 )
@@ -1018,7 +1020,9 @@ class CreateTgenDialog ( wx.Frame ):
         
         namepan.SetSizer( fgSizer3 )
         
-        bSizer2.Add( namepan, 1, wx.EXPAND|wx.ALIGN_CENTER_HORIZONTAL, 5 )
+        namesizer.Add( namepan, 1, wx.ALIGN_CENTER_HORIZONTAL, 5 )
+        
+        bSizer2.Add( namesizer, 1, wx.EXPAND, 5 )
         
         self.ip = VItemsPicker(self,-1, lemlist, _(u'Forms').decode('utf8'), _('Selection').decode('utf8'))
         self.ip._source.SetMinSize( wx.Size( 350, 400 ) )