diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-02-19 16:02:34 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-02-19 16:02:34 (GMT) |
commit | c75150deac8b8ff2818d319513e6ac331ae3bce3 (patch) | |
tree | 88b3ff46a714ea02c352d27ce120dfad997a90ad | |
parent | d5447bcb92c651383abf748d089c79287e633710 (diff) | |
download | tk-c75150deac8b8ff2818d319513e6ac331ae3bce3.zip tk-c75150deac8b8ff2818d319513e6ac331ae3bce3.tar.gz tk-c75150deac8b8ff2818d319513e6ac331ae3bce3.tar.bz2 |
Add padding to HITheme menubuttons
-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, |