summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-02-13 01:43:12 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-02-13 01:43:12 (GMT)
commitb28f3f8ee67ef7baf09b8f748e5888668f3b8564 (patch)
treedbb59a25b5d263fc1dd40a6ef7bfb48abeca5d43 /macosx
parentb46c0b2c3038a962d11a414fe65dc3f4c9529389 (diff)
downloadtk-b28f3f8ee67ef7baf09b8f748e5888668f3b8564.zip
tk-b28f3f8ee67ef7baf09b8f748e5888668f3b8564.tar.gz
tk-b28f3f8ee67ef7baf09b8f748e5888668f3b8564.tar.bz2
Final adjustment of checkbutton flags in Cocoa
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXButton.c4
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;
}