diff options
author | NBurn <7nburn@gmail.com> | 2019-01-23 23:03:09 +0300 |
---|---|---|
committer | NBurn <7nburn@gmail.com> | 2019-01-23 23:03:09 +0300 |
commit | 49c1b409286937d00a63fbf4cfb1f820a75a80c0 (patch) | |
tree | e85be0be22a3929aa28e4f3b4d3b16741eb26ebc /btrace | |
parent | 54f2341bdee0e6e5dfacd65a38740f99996efa52 (diff) |
addons: add missing text= keyword after label
Diffstat (limited to 'btrace')
-rw-r--r-- | btrace/__init__.py | 2 | ||||
-rw-r--r-- | btrace/bTrace_props.py | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/btrace/__init__.py b/btrace/__init__.py index dee32a3f..fe0c4758 100644 --- a/btrace/__init__.py +++ b/btrace/__init__.py @@ -82,7 +82,7 @@ class btrace_preferences(AddonPreferences): def draw(self, context): layout = self.layout - layout.label("UI Options:") + layout.label(text="UI Options:") row = layout.row(align=True) row.prop(self, "expand_enum", text="UI Options", expand=True) diff --git a/btrace/bTrace_props.py b/btrace/bTrace_props.py index 68d7f087..3f0fed74 100644 --- a/btrace/bTrace_props.py +++ b/btrace/bTrace_props.py @@ -587,7 +587,7 @@ class addTracerObjectPanel(Panel): def color_blender(): # Buttons for Color Blender row = box.row() - row.label("Color palette") + row.label(text="Color palette") row.prop(Btrace, "mmColors", text="") # Show Custom Colors if selected @@ -730,7 +730,7 @@ class addTracerObjectPanel(Panel): # Default option (can be expanded into help) if Btrace.btrace_toolmenu == 'tool_help': row = layout.row() - row.label("Pick an option", icon="HELP") + row.label(text="Pick an option", icon="HELP") # Object Trace elif Btrace.btrace_toolmenu == 'tool_objectTrace': @@ -817,14 +817,14 @@ class addTracerObjectPanel(Panel): row.prop(Btrace, "fol_sel_option", expand=True) row = box.row() if Btrace.fol_sel_option == 'RANDOM': - row.label("Random Select of Total") + row.label(text="Random Select of Total") row.prop(Btrace, "fol_perc_verts", text="%") if Btrace.fol_sel_option == 'CUSTOM': - row.label("Choose selection in Edit Mode") + row.label(text="Choose selection in Edit Mode") if Btrace.fol_sel_option == 'ALL': - row.label("Select All items") + row.label(text="Select All items") col = box.column(align=True) - col.label("Time Options", icon="TIME") + col.label(text="Time Options", icon="TIME") col.prop(Btrace, "particle_step") row = col.row(align=True) row.prop(Btrace, "fol_start_frame") |