diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-02-13 01:42:44 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-02-13 01:42:44 (GMT) |
commit | fce4e2afdd1b452d67d62e8bff171a23b5c386d7 (patch) | |
tree | 5e61824b024f657cdb6998bd9d4cc809945f162b /macosx | |
parent | 5a4e318d6970a5434d512494d2f7278605cba763 (diff) | |
download | tk-fce4e2afdd1b452d67d62e8bff171a23b5c386d7.zip tk-fce4e2afdd1b452d67d62e8bff171a23b5c386d7.tar.gz tk-fce4e2afdd1b452d67d62e8bff171a23b5c386d7.tar.bz2 |
Final adjustment of checkbutton flags in Cocoa
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXButton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c index 5d01ce9..4112316 100644 --- a/macosx/tkMacOSXButton.c +++ b/macosx/tkMacOSXButton.c @@ -421,8 +421,8 @@ TkpComputeButtonGeometry( width += 0; } } else { - /*If just text, just add width of string.*/ - width += txtWidth; + /*If just text, hard-code width of 30. Text renders unevenly otherwise.*/ + width += 30; } break; } |