UI: Slight Adjust Last Operation Changes #120625

Merged
Harley Acheson merged 1 commits from Harley/blender:AdjustLastOpTitle into main 2024-04-14 04:03:52 +02:00
1 changed files with 7 additions and 4 deletions

View File

@ -1398,11 +1398,14 @@ static uiBlock *wm_block_create_redo(bContext *C, ARegion *region, void *arg_op)
}
}
uiLayout *col = uiLayoutColumn(layout, false);
uiTemplateOperatorPropertyButs(
C, col, op, UI_BUT_LABEL_ALIGN_NONE, UI_TEMPLATE_OP_PROPS_SHOW_TITLE);
uiItemL_ex(layout, WM_operatortype_name(op->type, op->ptr).c_str(), ICON_NONE, true, false);
uiItemS_ex(layout, 0.2f, LayoutSeparatorType::Line);
uiItemS_ex(layout, 0.5f);
UI_block_bounds_set_popup(block, 6 * UI_SCALE_FAC, nullptr);
uiLayout *col = uiLayoutColumn(layout, false);
uiTemplateOperatorPropertyButs(C, col, op, UI_BUT_LABEL_ALIGN_NONE, 0);
UI_block_bounds_set_popup(block, 7 * UI_SCALE_FAC, nullptr);
return block;
}