Commit: 5e40c342ae99d3c5de1911698ee447c3cf7384a1
Author: Julian Eisel
Date:   Fri May 6 23:35:24 2022 +0200
Branches: master
https://developer.blender.org/rB5e40c342ae99d3c5de1911698ee447c3cf7384a1

UI: Remove weird looking right aligned text in texture properties

The text would start somewhere in the middle of the line, and just look placed
wrong. Plus it would seem like it's cut off (esp. since we don't add a period).

===================================================================

M       release/scripts/startup/bl_ui/properties_texture.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_texture.py 
b/release/scripts/startup/bl_ui/properties_texture.py
index 5ceaf8fc644..1f9362f02b5 100644
--- a/release/scripts/startup/bl_ui/properties_texture.py
+++ b/release/scripts/startup/bl_ui/properties_texture.py
@@ -840,7 +840,6 @@ class TEXTURE_PT_colors_ramp(TextureButtonsPanel, 
TextureColorsPoll, Panel):
         if is_active:
             layout.template_color_ramp(tex, "color_ramp", expand=True)
         else:
-            layout.alignment = 'RIGHT'
             layout.label(text="Enable the Color Ramp first")

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to