diff options
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXButton.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c index f4fbc48..0ed52db 100644 --- a/macosx/tkMacOSXButton.c +++ b/macosx/tkMacOSXButton.c @@ -364,7 +364,8 @@ TkpComputeButtonGeometry( height = butPtr->height > 0 ? butPtr->height : height; } else { /* Text only */ - width = txtWidth + butPtr->indicatorSpace; + /*Add four pixels of padding to width for text-only buttons to improve appearance.*/ + width = txtWidth + butPtr->indicatorSpace + 4; height = txtHeight; if (butPtr->width > 0) { width = butPtr->width * charWidth; |