I’m still preparing the GUI for my App.
For now all by hand, so at the end i can’t figure out how to align 3 controls in one BoxSizer(wx.HORIZONTAL)
i want all controls inside to be in the centre.Some are a bit higher, some in the middle, some lower…
i know flag=wx.ALIGN_CENTRE_VERTICAL, but i don’t know where exactly to place it!
Here is the part of the code:
#PANEL3
bx3=wx.StaticBox(pnl3, -1, “”)
payment_label=wx.StaticText(pnl3, 8, ‘Начин на плащане:’)
paymentKind = [‘в брой’, ‘по банков път’, ‘с карта’]
ch_payment = wx.Choice( bx3,-1, choices = paymentKind)
btn_ok=wx.Button(pnl3, 23,‘запази’)
third=wx.BoxSizer(wx.HORIZONTAL)
third.Add(payment_label)
third.Add(ch_payment, wx.TOP)
third.AddSpacer(470)
third.AddSpacer(btn_ok)
sz3=wx.StaticBoxSizer(bx3,wx.HORIZONTAL)
sz3.Add(third)
szbx4=wx.BoxSizer(wx.HORIZONTAL)
szbx4.Add(sz3)
pnl3.Sizer=szbx4