summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXButton.c
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)
commitd9b04b436af1f10f26bfffac3006e7cfd3006e57 (patch)
tree358ecb3a24d83d32dd8d9552a5c78856fa01d8c7 /macosx/tkMacOSXButton.c
parent7b2a9f3e0e3a52a26c1fcb28818f8b0a988ce5b3 (diff)
downloadtk-d9b04b436af1f10f26bfffac3006e7cfd3006e57.zip
tk-d9b04b436af1f10f26bfffac3006e7cfd3006e57.tar.gz
tk-d9b04b436af1f10f26bfffac3006e7cfd3006e57.tar.bz2
Final adjustment of checkbutton flags in Cocoa
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-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;
}