make text-size decrease use increments of .1 (makes for larger / more readable text)
This commit is contained in:
parent
896c86f349
commit
c06d2563b0
@ -255,7 +255,7 @@ class DominionTabs:
|
||||
|
||||
width = self.nameWidth(name, fontSize)
|
||||
while width > textWidth and fontSize > 8:
|
||||
fontSize -= 1
|
||||
fontSize -= .01
|
||||
#print 'decreasing font size for tab of',name,'now',fontSize
|
||||
width = self.nameWidth(name, fontSize)
|
||||
tooLong = width > textWidth
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user