- self.txt = wxStaticText(self, -1, "Sample text...", (285, 50))
+ self.txt = wx.StaticText(self, -1, "Sample text...", (285, 50))
+
+ row = wx.BoxSizer(wx.HORIZONTAL)
+ row.Add(s1, 0, wx.ALL, 5)
+ row.Add(self.lb1, 0, wx.ALL, 5)
+ row.Add(self.txt, 0, wx.ALL|wx.ADJUST_MINSIZE, 5)
+
+ sizer = wx.BoxSizer(wx.VERTICAL)
+ sizer.Add(row, 0, wx.ALL, 30)
+ self.SetSizer(sizer)
+ self.Layout()