diff options
author | fvogel <fvogelnew1@free.fr> | 2019-02-02 17:51:55 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2019-02-02 17:51:55 (GMT) |
commit | 6f9b782763a6e1605f10e734efa396ec738a04e0 (patch) | |
tree | 6d0732223d3b2522a8f3947922fb882846ee46b8 /macosx/tkMacOSXDefault.h | |
parent | 303f11157504fc05934fb107a61f3c551f6e3684 (diff) | |
parent | a882b53474bbebcce65b5fcbd96dea64e652a44e (diff) | |
download | tk-6f9b782763a6e1605f10e734efa396ec738a04e0.zip tk-6f9b782763a6e1605f10e734efa396ec738a04e0.tar.gz tk-6f9b782763a6e1605f10e734efa396ec738a04e0.tar.bz2 |
TIP #533 (Extension of the menu post command) implementation was accepted by TCT vote. This allows fixing of bug [70e531918e]: geometry issues with menubuttons on macOS.
Diffstat (limited to 'macosx/tkMacOSXDefault.h')
-rw-r--r-- | macosx/tkMacOSXDefault.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/tkMacOSXDefault.h b/macosx/tkMacOSXDefault.h index a0b6a79..dd6be69 100644 --- a/macosx/tkMacOSXDefault.h +++ b/macosx/tkMacOSXDefault.h @@ -334,7 +334,7 @@ * Defaults for menubuttons: */ -#define DEF_MENUBUTTON_ANCHOR "center" +#define DEF_MENUBUTTON_ANCHOR "w" #define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG #define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK #define DEF_MENUBUTTON_ACTIVE_FG_COLOR ACTIVE_FG @@ -342,7 +342,7 @@ #define DEF_MENUBUTTON_BG_COLOR NORMAL_BG #define DEF_MENUBUTTON_BG_MONO WHITE #define DEF_MENUBUTTON_BITMAP "" -#define DEF_MENUBUTTON_BORDER_WIDTH "2" +#define DEF_MENUBUTTON_BORDER_WIDTH "0" #define DEF_MENUBUTTON_CURSOR "" #define DEF_MENUBUTTON_DIRECTION "below" #define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED @@ -358,8 +358,8 @@ #define DEF_MENUBUTTON_INDICATOR "1" #define DEF_MENUBUTTON_JUSTIFY "left" #define DEF_MENUBUTTON_MENU "" -#define DEF_MENUBUTTON_PADX "4" -#define DEF_MENUBUTTON_PADY "3" +#define DEF_MENUBUTTON_PADX "0" +#define DEF_MENUBUTTON_PADY "0" #define DEF_MENUBUTTON_RELIEF "flat" #define DEF_MENUBUTTON_STATE "normal" #define DEF_MENUBUTTON_TAKE_FOCUS "0" |