Aug-14-2018, 10:48 AM
This looks like it worked!
box_horiz = wx.BoxSizer(wx.HORIZONTAL) self.textPath = wx.StaticText(panel, label="hello", style=wx.TE_READONLY|wx.BORDER_SUNKEN) self.textPath.SetBackgroundColour((255,255,255)) self.btnPath = wx.Button(panel,-1,"Path") box_horiz.Add(self.textPath,10,wx.EXPAND|wx.ALIGN_CENTER_HORIZONTAL|wx.ALL,5) box_horiz.Add(self.btnPath,3,wx.EXPAND|wx.ALIGN_CENTER_HORIZONTAL|wx.ALL,5)I'll be happy to see if there is any other better way to do this. Thanks