summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-02-13 01:42:44 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-02-13 01:42:44 (GMT)
commitfce4e2afdd1b452d67d62e8bff171a23b5c386d7 (patch)
tree5e61824b024f657cdb6998bd9d4cc809945f162b /macosx
parent5a4e318d6970a5434d512494d2f7278605cba763 (diff)
downloadtk-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.c4
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;
}