Fix canvas size

This commit is contained in:
Florian Festi 2016-03-15 20:38:30 +01:00
parent 4b4bed1847
commit 83c76f6fc7
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class TypeTray(Boxes):
hi = self.hi = self.hi or h
t = self.thickness
self.open(width=x+y+10*t, height=y+(len(self.sx)+len(self.sy))*h+50)
self.open(width=2*max(x,y)+10*t, height=(len(self.sx)+len(self.sy))*(h+2*t)+4*t)
self.edges["f"].settings.setValues(self.thickness, space=3, finger=3,
surroundingspaces=0.5)