UI: text keyword argument to label

Prepare for keyword only args
This commit is contained in:
Campbell Barton
2018-08-28 12:34:51 +10:00
parent 60b24f2415
commit e9fb2feb2e
39 changed files with 187 additions and 187 deletions

View File

@@ -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.