Nodes: UI: Center Define Signature in Bundle nodes
Center "Define Signature" in Combine/Separate Bundle nodes, to match others. Pull Request: https://projects.blender.org/blender/blender/pulls/147222
This commit is contained in:
committed by
Pablo Vazquez
parent
be61366801
commit
28280aaeeb
@@ -94,6 +94,9 @@ static void node_layout_ex(uiLayout *layout, bContext *C, PointerRNA *node_ptr)
|
||||
bNodeTree &ntree = *reinterpret_cast<bNodeTree *>(node_ptr->owner_id);
|
||||
bNode &node = *static_cast<bNode *>(node_ptr->data);
|
||||
|
||||
layout->use_property_split_set(true);
|
||||
layout->use_property_decorate_set(false);
|
||||
|
||||
layout->op("node.sockets_sync", "Sync", ICON_FILE_REFRESH);
|
||||
layout->prop(node_ptr, "define_signature", UI_ITEM_NONE, std::nullopt, ICON_NONE);
|
||||
if (uiLayout *panel = layout->panel(C, "bundle_items", false, TIP_("Bundle Items"))) {
|
||||
|
||||
@@ -98,6 +98,9 @@ static void node_layout_ex(uiLayout *layout, bContext *C, PointerRNA *node_ptr)
|
||||
bNodeTree &ntree = *reinterpret_cast<bNodeTree *>(node_ptr->owner_id);
|
||||
bNode &node = *static_cast<bNode *>(node_ptr->data);
|
||||
|
||||
layout->use_property_split_set(true);
|
||||
layout->use_property_decorate_set(false);
|
||||
|
||||
layout->op("node.sockets_sync", "Sync", ICON_FILE_REFRESH);
|
||||
layout->prop(node_ptr, "define_signature", UI_ITEM_NONE, std::nullopt, ICON_NONE);
|
||||
if (uiLayout *panel = layout->panel(C, "bundle_items", false, TIP_("Bundle Items"))) {
|
||||
|
||||
Reference in New Issue
Block a user