diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-01-16 10:32:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-01-16 10:32:47 +0300 |
commit | e17b075a65c41d16ff8825cb7ab94bcda8520b08 (patch) | |
tree | 384613f4847b320d1cd30323462707dcfab9265c /source/blender/windowmanager/intern/wm_operators.c | |
parent | be521a7457ef510e93ee9281ff07baffaac91996 (diff) | |
parent | 6c915097453646023874480546f5e7e68489752c (diff) |
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operators.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index a118347ad9c..5837e8e952c 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -1343,15 +1343,17 @@ static uiBlock *wm_block_create_redo(bContext *C, ARegion *ar, void *arg_op) } } + uiLayout *col = uiLayoutColumn(layout, false); + if (op->type->flag & OPTYPE_MACRO) { for (op = op->macro.first; op; op = op->next) { uiTemplateOperatorPropertyButs( - C, layout, op, UI_BUT_LABEL_ALIGN_NONE, UI_TEMPLATE_OP_PROPS_SHOW_TITLE); + C, col, op, UI_BUT_LABEL_ALIGN_NONE, UI_TEMPLATE_OP_PROPS_SHOW_TITLE); } } else { uiTemplateOperatorPropertyButs( - C, layout, op, UI_BUT_LABEL_ALIGN_NONE, UI_TEMPLATE_OP_PROPS_SHOW_TITLE); + C, col, op, UI_BUT_LABEL_ALIGN_NONE, UI_TEMPLATE_OP_PROPS_SHOW_TITLE); } UI_block_bounds_set_popup(block, 6 * U.dpi_fac, NULL); |