summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}