From c06d2563b023beddbe386a83ea46429f9bcaad5e Mon Sep 17 00:00:00 2001 From: Paul Molodowitch Date: Mon, 23 Dec 2013 14:36:08 -0800 Subject: [PATCH] make text-size decrease use increments of .1 (makes for larger / more readable text) --- dominion_tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dominion_tabs.py b/dominion_tabs.py index 3091c97..5de3073 100644 --- a/dominion_tabs.py +++ b/dominion_tabs.py @@ -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