Fixed a sizer type induced layout bug in multiSwitch
This commit is contained in:
@@ -68,7 +68,7 @@ class MultiSwitch(wx.Notebook):
|
||||
p = wx.Panel(self)
|
||||
self.InsertPage(pos, p, "")
|
||||
p.type = "fit"
|
||||
sizer = wx.BoxSizer(wx.VERTICAL)
|
||||
sizer = wx.BoxSizer(wx.HORIZONTAL)
|
||||
p.view = fv.FittingView(p)
|
||||
|
||||
sizer.Add(p.view, 1, wx.EXPAND | wx.RESERVE_SPACE_EVEN_IF_HIDDEN)
|
||||
|
||||
Reference in New Issue
Block a user