UI: text keyword argument to label
Prepare for keyword only args
This commit is contained in:
@@ -103,7 +103,7 @@ class MyCustomNode(Node, MyCustomTreeNode):
|
||||
|
||||
# Additional buttons displayed on the node.
|
||||
def draw_buttons(self, context, layout):
|
||||
layout.label("Node settings")
|
||||
layout.label(text="Node settings")
|
||||
layout.prop(self, "my_float_prop")
|
||||
|
||||
# Detail buttons in the sidebar.
|
||||
|
Reference in New Issue
Block a user