Im trying to add a button and move the browser panel to the right. i want the button to the left but the button is ontop of the map that i have displayed. here is the code http://pastie.org/p/4y8FtkR1z2mbZO3WHuSt5L
self.browser_panel = wx.Panel(self, style=wx.WANTS_CHARS)
self.browser_panel.Bind(wx.EVT_SET_FOCUS, self.OnSetFocus)
self.browser_panel.Bind(wx.EVT_SIZE, self.OnSize)
self.sizer1 = wx.BoxSizer(wx.VERTICAL)
self.sizer1.Add(self.browser_panel,1,wx.ALIGN_RIGHT)
self.sizer2 = wx.BoxSizer(wx.HORIZONTAL)
self.sizer1.Add(self.sizer2)
self.sizer2.Add(wx.Button(self.browser_panel,wx.ID_ANY,'sheesh'),0,wx.ALIGN_CENTER)
Here is an example, using the method mentioned in my comment i.e.
Not
making the button a child of the browser_panel.Caveats: I didn't load cef python or gmplot onto my machine, so this is pure wxPython.
The interactive map is provide by the
folium
libraryuseage (should you wish to map another area):
The code for
maparea.html
is: