From 6024a89ae2a5dbacb681874337e4bda2c3f86c25 Mon Sep 17 00:00:00 2001 From: Damien Picard Date: Fri, 4 Dec 2020 20:50:23 +0100 Subject: Sun position: remove trailing colons and capitalize props in UI --- sun_position/ui_sun.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sun_position') diff --git a/sun_position/ui_sun.py b/sun_position/ui_sun.py index ec58589c..49f04e33 100644 --- a/sun_position/ui_sun.py +++ b/sun_position/ui_sun.py @@ -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() -- cgit v1.2.3