UI: Slight Adjust Last Operation Changes
Adjust Last Operation dialog gets a title with a line underneath and slight change to margins to better match other similar dialogs. A change agreed to in our last UI meeting. Pull Request: https://projects.blender.org/blender/blender/pulls/120625
This commit is contained in:
parent
43179864f4
commit
968528bde6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user