pan = wx.Panel(self.spanel, -1, style=wx.SIMPLE_BORDER)
siz = wx.BoxSizer(wx.VERTICAL)
txt = wx.StaticText(pan, -1, forme)
- siz.Add(txt, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5)
+ siz.Add(txt, 0, wx.ALL, 5)
pan.SetSizer(siz)
self.sizer1.Add(pan, 0, wx.ALL|wx.EXPAND|wx.ALIGN_CENTER_VERTICAL, 5)
pan = wx.Panel(self.spanel, -1, style=wx.SIMPLE_BORDER)
siz = wx.BoxSizer(wx.VERTICAL)
txt = wx.StaticText(pan, -1, str(cl))
- siz.Add(txt, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5)
+ siz.Add(txt, 0, wx.ALL, 5)
pan.SetSizer(siz)
self.sizer1.Add(pan, 0, wx.ALL|wx.EXPAND|wx.ALIGN_CENTER_VERTICAL, 5)
pan = wx.Panel(self.spanel, -1, style=wx.SIMPLE_BORDER)
siz = wx.BoxSizer(wx.VERTICAL)
txt = wx.StaticText(pan, -1, str(chi))
- siz.Add(txt, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5)
+ siz.Add(txt, 0, wx.ALL, 5)
pan.SetSizer(siz)
self.sizer1.Add(pan, 0, wx.ALL|wx.EXPAND|wx.ALIGN_CENTER_VERTICAL, 5)
idbut = wx.NewId()