Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2022-05-07 00:35:24 +0300
committerJulian Eisel <julian@blender.org>2022-05-07 00:37:28 +0300
commit5e40c342ae99d3c5de1911698ee447c3cf7384a1 (patch)
tree3ed3bc0670800dbe936bc280dc19a6c3d3798404 /release/scripts/startup/bl_ui
parentaae2ff49f5b8bd7aeb219f1505d415c5744133c1 (diff)
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).
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r--release/scripts/startup/bl_ui/properties_texture.py1
1 files changed, 0 insertions, 1 deletions
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")