Commit a661e200 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

tweak notebook minsize

parent d3147cf5
......@@ -162,7 +162,11 @@ class Notebook(wx.Panel):
myWidth = max(pageWidths) + buttonWidth + divLineWidth
myHeight = max([buttonHeight] + pageHeights)
self.SetMinSize((myWidth + border, myHeight + border))
# The border is applied once to
# the button panel, and on both
# sides of the page. And we add
# two 2 for good luck.
self.SetMinSize((myWidth + border, myHeight + border * 3 + 2))
def SetButtonColours(self, **kwargs):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment