Refix search
This commit is contained in:
@@ -39,8 +39,7 @@ class MarketBrowser(wx.Panel):
|
||||
self.search = wx.SearchCtrl(p, wx.ID_ANY, style=wx.TE_PROCESS_ENTER)
|
||||
self.search.ShowCancelButton(True)
|
||||
sizer.Add(self.search, 1, wx.EXPAND)
|
||||
currHeight = self.search.GetSize()[1]
|
||||
p.SetMinSize((wx.SIZE_AUTO_WIDTH, currHeight + 3))
|
||||
p.SetMinSize((wx.SIZE_AUTO_WIDTH, 25))
|
||||
|
||||
self.splitter = wx.SplitterWindow(self, style = wx.SP_LIVE_UPDATE)
|
||||
|
||||
@@ -86,7 +85,9 @@ class MarketBrowser(wx.Panel):
|
||||
self.marketView.Bind(wx.EVT_TREE_ITEM_EXPANDING, self.expandLookup)
|
||||
self.marketView.Bind(wx.EVT_TREE_SEL_CHANGED, self.selectionMade)
|
||||
|
||||
#Setup our buttons for metaGroup selection
|
||||
# Setup our buttons for metaGroup selection
|
||||
# Same fix as for search box on macs,
|
||||
# need some pixels of extra space or everything clips and is ugly
|
||||
p = wx.Panel(self)
|
||||
box = wx.BoxSizer(wx.HORIZONTAL)
|
||||
p.SetSizer(box)
|
||||
|
||||
Reference in New Issue
Block a user