diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-13 12:11:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-13 12:11:23 +0300 |
commit | 2a5d4d75730666393043922bce0c02f2f60433a2 (patch) | |
tree | 79d3c9eee0de91addc22bfc9f639fcf8e92cd046 /source/blender/editors/interface/interface_layout.c | |
parent | 1a79c6d36081268a0f0b9f7650471b09372df121 (diff) | |
parent | 5788f243378ac95d86e9e95d667713e3aa6db107 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/interface/interface_layout.c')
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index 9888c6d65cc..5387f133641 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -1986,11 +1986,11 @@ static uiBut *ui_item_menu( if (layout->root->type == UI_LAYOUT_HEADER) { /* ugly .. */ if (force_menu) { - w += UI_UNIT_Y; + w += UI_UNIT_X; } else { if (name[0]) { - w -= UI_UNIT_Y / 2; + w -= UI_UNIT_X / 2; } } } |