diff options
author | dgp <dgp@users.sourceforge.net> | 2015-02-24 15:10:40 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2015-02-24 15:10:40 (GMT) |
commit | 31d4a36e782d8abdf6c7657c926dee44cfe90f4a (patch) | |
tree | f735bcdffc5bd8ff7a33bfb9ea4a18619029a18a /macosx/tkMacOSXMenubutton.c | |
parent | 436d703a7691d7b1af382e9891e1c8eed13bceb4 (diff) | |
parent | b4c8b7030528c756f79673b9511327918950afb7 (diff) | |
download | tk-31d4a36e782d8abdf6c7657c926dee44cfe90f4a.zip tk-31d4a36e782d8abdf6c7657c926dee44cfe90f4a.tar.gz tk-31d4a36e782d8abdf6c7657c926dee44cfe90f4a.tar.bz2 |
merge 8.5
Diffstat (limited to 'macosx/tkMacOSXMenubutton.c')
-rw-r--r-- | macosx/tkMacOSXMenubutton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXMenubutton.c b/macosx/tkMacOSXMenubutton.c index 05b553e..4a3c7f8 100644 --- a/macosx/tkMacOSXMenubutton.c +++ b/macosx/tkMacOSXMenubutton.c @@ -539,10 +539,10 @@ DrawMenuButtonImageAndText( XSetClipOrigin(butPtr->display, dpPtr->gc, 0, 0); } } else { - /*Move x back by six pixels to give the menubutton arrows room.*/ + /*Move x back by eight pixels to give the menubutton arrows room.*/ int x = 0; int y; - textXOffset = 6; + textXOffset = 8; TkComputeAnchor(butPtr->anchor, tkwin, butPtr->padX, butPtr->padY, butPtr->textWidth, butPtr->textHeight, &x, &y); Tk_DrawTextLayout(butPtr->display, pixmap, dpPtr->gc, |