diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-02-13 01:43:12 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-02-13 01:43:12 (GMT) |
commit | fc616d7e8061ae3804c102aca073bcca7ab00600 (patch) | |
tree | 358ecb3a24d83d32dd8d9552a5c78856fa01d8c7 /macosx/tkMacOSXButton.c | |
parent | 4c7f5da7b27a1a2c05bc890012d5f33eb2f3aa52 (diff) | |
download | tk-fc616d7e8061ae3804c102aca073bcca7ab00600.zip tk-fc616d7e8061ae3804c102aca073bcca7ab00600.tar.gz tk-fc616d7e8061ae3804c102aca073bcca7ab00600.tar.bz2 |
Final adjustment of checkbutton flags in Cocoa
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-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 4dddcf9..9a43b46 100644 --- a/macosx/tkMacOSXButton.c +++ b/macosx/tkMacOSXButton.c @@ -420,8 +420,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; } |