boxsizer

StaticText items disappear in wx.StaticBox

I'm creating a staticbox and a staticboxsizer in a vertical sizer. Everything works fine for me, but not on the customer's environment. Everything in the staticbox is displayed, but labels. snippet below shows how i construct the staticboxsizer. sbox2 = wx.StaticBox(self, wx.ID_ANY, 'CH1 Only') sboxsizer2 = wx.StaticBoxSizer(...

Sizers... - wxPython

Ok, so I'm learning about sizers in wxPython and I was wondering if it was possible to do something like: ============================================== |WINDOW TITLE _ [] X| |============================================| |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx| |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...

wxPython Panel problem

import wx class MyFrame(wx.Frame): def __init__(self, parent, mytitle, mysize): wx.Frame.__init__(self, parent, wx.ID_ANY, mytitle, size=mysize) panel1 = wx.Panel(self) panel2 = wx.Panel(self) panel3 = wx.Panel(self) panel1.SetBackgroundColour("green") panel2.SetBackgroundColour("yell...