diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-25 22:54:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-25 22:54:29 +0300 |
commit | c509922605ffb61c7f04c2d4c12f8c5e651d0214 (patch) | |
tree | c71d69332cf76001da0bb4a3f32024b38efbd631 /source/blender/editors/interface/interface_region_menu_pie.c | |
parent | 84302497918191b751311fa1bc7f72017f5af2eb (diff) |
UI: use a wider minimum menu width
Icon only buttons with menus would be too narrow,
especially buttons for selecting tools.
Diffstat (limited to 'source/blender/editors/interface/interface_region_menu_pie.c')
-rw-r--r-- | source/blender/editors/interface/interface_region_menu_pie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_region_menu_pie.c b/source/blender/editors/interface/interface_region_menu_pie.c index 37a603d967f..98fab5f42aa 100644 --- a/source/blender/editors/interface/interface_region_menu_pie.c +++ b/source/blender/editors/interface/interface_region_menu_pie.c @@ -76,7 +76,7 @@ static uiBlock *ui_block_func_PIE(bContext *UNUSED(C), uiPopupBlockHandle *handl uiPieMenu *pie = arg_pie; int minwidth, width, height; - minwidth = 50; + minwidth = UI_MENU_WIDTH_MIN; block = pie->block_radial; /* in some cases we create the block before the region, |