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 | d9b04b436af1f10f26bfffac3006e7cfd3006e57 (patch) | |
tree | 358ecb3a24d83d32dd8d9552a5c78856fa01d8c7 | |
parent | 7b2a9f3e0e3a52a26c1fcb28818f8b0a988ce5b3 (diff) | |
download | tk-d9b04b436af1f10f26bfffac3006e7cfd3006e57.zip tk-d9b04b436af1f10f26bfffac3006e7cfd3006e57.tar.gz tk-d9b04b436af1f10f26bfffac3006e7cfd3006e57.tar.bz2 |
Final adjustment of checkbutton flags in Cocoa
-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; } |