title: How can I make a wxpython Widget span two cells without pushing other widgets aside?
body: <p>I'm trying to make a form that has several input fields. Underneath these fields I want to have a wxpython Ultimate List Control (for all intents and purposes it's the same thing as a List Control). My issue is with sizers. To give some context, my form looks like this </p>
  
  <pre><code>Name         [TextCtrl]
  Blah         [TextCtrl]
  
  ListControl
  </code></pre>
  
  <p>I want it to look like</p>
  
  <pre><code>Name   [TextCtrl]
  Blah   [TextCtrl]
  ListCtrl (this spans to the end of the row)
  </code></pre>
  
  <p>My problem is when I try to add the List Control. I want the list control to Stretch from The Static Text to the Text Control, but it pushes the TextControl over. Can someone please point me in the right direction? I have attached the relevant code below.</p>
  
  <pre><code>class UserField(wx.Dialog):
  def __init__(self, parent):
      wx.Dialog.__init__(self, parent=parent, title="Info", size=(350, 400),
                         style=wx.DEFAULT_FRAME_STYLE)
  
  
      self.init_ui()
      self.Center()
      self.ShowModal()
  
  def init_ui(self):
      panel = wx.Panel(self, wx.ID_ANY)
      hbox = wx.BoxSizer(wx.VERTICAL)
      flex_grid = wx.FlexGridSizer(5, 2, 5, 10) # row, col, vgap, hgap
  
  
      info_text = wx.StaticText(parent=panel, label="Enter information")
      self.search_button = wx.Button(parent=panel, label="Search")
      self.list_control = UltimateListCtrl(panel,
          agwStyle=wx.LC_REPORT | wx.BORDER_SUNKEN | ULC_HAS_VARIABLE_ROW_HEIGHT, )
  
      flex_grid.AddMany(
              [
                  info_text, self.search_button
              ]
      )
      lbox = wx.BoxSizer(wx.HORIZONTAL)
      lbox.Add(self.list_control
      hbox.Add(flex_grid, wx.EXPAND|wx.ALL)
      hbox.Add(lbox, proportion=1, flag=wx.ALL|wx.EXPAND)
      panel.SetSizer(hbox)
  </code></pre>