Implement logic to have tabs of different sizes in additions pane and in fitting pane

This commit is contained in:
DarkPhoenix
2019-10-02 10:16:36 +03:00
parent 00d480860f
commit ba93467646
3 changed files with 83 additions and 28 deletions

View File

@@ -23,7 +23,7 @@ import gui.builtinViews.emptyView
class MultiSwitch(ChromeNotebook):
def __init__(self, parent):
ChromeNotebook.__init__(self, parent)
ChromeNotebook.__init__(self, parent, can_add=True, tabWidthMode=1)
# self.AddPage() # now handled by mainFrame
self.handlers = handlers = []
for type in TabSpawner.tabTypes: