summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXButton.c
diff options
context:
space:
mode:
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 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;
}