UI: text keyword argument to label

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

View File

@@ -408,7 +408,7 @@ class RENDER_UL_renderviews(UIList):
elif self.layout_type == 'GRID':
layout.alignment = 'CENTER'
layout.label("", icon_value=icon + (not view.use))
layout.label(text="", icon_value=icon + (not view.use))
class RENDER_PT_stereoscopy(RenderButtonsPanel, Panel):
@@ -751,7 +751,7 @@ class RENDER_PT_eevee_indirect_lighting(RenderButtonsPanel, Panel):
layout.use_property_split = False
row = layout.split(percentage=0.5)
row.alignment = 'RIGHT'
row.label("Cubemap Display")
row.label(text="Cubemap Display")
sub = row.row(align=True)
sub.prop(props, "gi_cubemap_draw_size", text="Size")
@@ -762,7 +762,7 @@ class RENDER_PT_eevee_indirect_lighting(RenderButtonsPanel, Panel):
row = layout.split(percentage=0.5)
row.alignment = 'RIGHT'
row.label("Irradiance Display")
row.label(text="Irradiance Display")
sub = row.row(align=True)
sub.prop(props, "gi_irradiance_draw_size", text="Size")