Sun position: remove trailing colons and capitalize props in UI

This commit is contained in:
Damien Picard 2020-12-04 20:50:23 +01:00
parent 169bba162a
commit 6024a89ae2
1 changed files with 4 additions and 4 deletions

View File

@ -84,7 +84,7 @@ class SUNPOS_PT_Panel(bpy.types.Panel):
def draw_panel(self, context, sp, p, layout):
col = self.layout.column(align=True)
col.label(text="Usage mode:")
col.label(text="Usage Mode")
row = col.row()
row.prop(sp, "usage_mode", expand=True)
col.separator()
@ -98,7 +98,7 @@ class SUNPOS_PT_Panel(bpy.types.Panel):
even_rows=False, align=False)
col = flow.column(align=True)
col.label(text="Environment texture:")
col.label(text="Environment Texture")
if context.scene.world is not None:
if context.scene.world.node_tree is not None:
@ -114,7 +114,7 @@ class SUNPOS_PT_Panel(bpy.types.Panel):
col.separator()
col = flow.column(align=True)
col.label(text="Sun object:")
col.label(text="Sun Object")
col.prop_search(sp, "sun_object",
context.view_layer, "objects", text="")
col.separator()
@ -187,7 +187,7 @@ class SUNPOS_PT_Location(bpy.types.Panel):
p = context.preferences.addons[__package__].preferences
col = layout.column(align=True)
col.label(text="Enter coordinates:")
col.label(text="Enter Coordinates")
col.prop(sp, "co_parser", text='', icon='URL')
layout.separator()