Fix canvas size
This commit is contained in:
parent
4b4bed1847
commit
83c76f6fc7
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue