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:
authorPeter Fog <tintwotin>2020-06-01 06:38:48 +0300
committerRichard Antalik <richardantalik@gmail.com>2020-06-01 06:41:09 +0300
commitb5cfb23fa719816a8f712b2d18ac3be1e037a1ac (patch)
tree9cb2e3ffe7e459aab3a91edc597a590b31d04da5 /release
parentadf9ff6359c57a715472b69ed1a6b155e48e2cdb (diff)
VSE UI: Text panel adjustments
This patch adjusts a number of text panel elements: - The text entry widget has become larger in order to distinguish it from the strip name. - Wrap has been moved up under the text, since this doesn't relate to bounding box. - Alignment X/Y has been renamed to Anchor X/Y, since this is the achor point of the text point, and not the Alignment of the text. - Offset and Crop was completely missing from the Text strip panel, these has been added. Reviewed By: billreynish Differential Revision: https://developer.blender.org/D7869
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py15
1 files changed, 9 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index 2de047730b8..9c20a55c294 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -1152,9 +1152,13 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel):
elif strip_type == 'TEXT':
layout = self.layout
- layout.use_property_split = False
- layout.prop(strip, "text", text="")
- layout.use_property_split = True
+ col = layout.column()
+ col.scale_x = 1.3
+ col.scale_y = 1.3
+ col.use_property_split = False
+ col.prop(strip, "text", text="")
+ col.use_property_split = True
+ layout.prop(strip, "wrap_width", text="Wrap Width")
col = layout.column(align=True)
if strip_type == 'SPEED':
@@ -1191,9 +1195,8 @@ class SEQUENCER_PT_effect_text_layout(SequencerButtonsPanel, Panel):
layout.use_property_split = True
col = layout.column()
col.prop(strip, "location", text="Location")
- col.prop(strip, "align_x", text="Alignment X")
+ col.prop(strip, "align_x", text="Anchor X")
col.prop(strip, "align_y", text="Y")
- col.prop(strip, "wrap_width", text="Wrap Width")
class SEQUENCER_PT_effect_text_style(SequencerButtonsPanel, Panel):
@@ -1683,7 +1686,7 @@ class SEQUENCER_PT_adjust_transform(SequencerButtonsPanel, Panel):
return strip.type in {
'MOVIE', 'IMAGE', 'SCENE', 'MOVIECLIP', 'MASK',
- 'META', 'ADD', 'SUBTRACT', 'ALPHA_OVER',
+ 'META', 'ADD', 'SUBTRACT', 'ALPHA_OVER', 'TEXT',
'ALPHA_UNDER', 'CROSS', 'GAMMA_CROSS', 'MULTIPLY',
'OVER_DROP', 'WIPE', 'GLOW', 'TRANSFORM', 'COLOR',
'MULTICAM', 'SPEED', 'ADJUSTMENT', 'COLORMIX'