On 25/04/2006, at 7:29 PM, carlosper...@alumnos.uvigo.es wrote: > > > > Hello!!! > I am looking for a good python tool for programming frames, > windows, buttons and > so on. > I have this programmation doubt : > > vs = wx.BoxSizer(wx.VERTICAL)
For buttons to be on the same line, it should be: vs = wx.BoxSizer(wx.HORIZONTAL) > > # > # Load button > # > > b = wx.Button(self.panel, -1, "Load remote movie...") > self.Bind(wx.EVT_BUTTON, self.OnLoad, b) > vs.Add(b, 0, wx.ALL, 4) > > # Local movie > b = wx.Button(self.panel, -1, "Load local movie...") > self.Bind(wx.EVT_BUTTON, self.OnLoadLocal, b) > vs.Add(b, 0, wx.ALL, 4) Now you will need: self.SetSizer(vs) self.SetAutoLayout(True) > > I would like to set this two buttons on the same line > Thank you Christoph Willing +61 7 3365 8350 QPSF Access Grid Manager University of Queensland