box3.Add(self.label_lem, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_LEFT, 5)
self.radio_lem = wx.RadioBox(self, -1, "", choices= [ _("yes"), _("no") ], majorDimension=0, style=wx.RA_SPECIFY_ROWS)
box3.Add(self.radio_lem, 0, wx.EXPAND, 5)
- sizer.Add(box3, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5)
+ sizer.Add(box3, 0, wx.GROW|wx.ALL, 5)
self.label_txt = wx.StaticText(self, -1, _("Export for ..."))
box.Add(self.label_txt, 0, wx.ALIGN_CENTRE|wx.ALL, 5)
self.radio_type = wx.RadioBox(self, -1, "", choices=['IRaMuTeQ/ALCESTE', 'Lexico'], majorDimension=0, style=wx.RA_SPECIFY_ROWS)
box.Add(self.radio_type, 0, wx.ALIGN_CENTRE|wx.ALL, 5)
- sizer.Add(box, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5)
+ sizer.Add(box, 0, wx.GROW|wx.ALL, 5)
box2 = wx.BoxSizer(wx.HORIZONTAL)
self.txt2 = wx.StaticText(self, -1, _("Output file"))
box2.Add(self.txt2, 0, wx.ALIGN_CENTRE|wx.ALL, 5)
self.fbb = filebrowse.FileBrowseButton(self, -1, size=(450, -1), fileMode = 2)
box2.Add(self.fbb, 0, wx.ALIGN_CENTRE|wx.ALL, 5)
self.fbb.SetLabel("")
- sizer.Add(box2, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5)
+ sizer.Add(box2, 0, wx.GROW|wx.ALL, 5)
btnsizer = wx.StdDialogButtonSizer()
btn = wx.Button(self, wx.ID_CANCEL)
btnsizer.AddButton(btn)
btn_ok.SetDefault()
btnsizer.AddButton(btn_ok)
btnsizer.Realize()
- sizer.Add(btnsizer, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL|wx.ALIGN_RIGHT, 5)
+ sizer.Add(btnsizer, 0, wx.ALL|wx.ALIGN_RIGHT, 5)
self.Bind(wx.EVT_BUTTON, self.check_file, btn_ok)
self.SetSizer(sizer)
sizer.Fit(self)