[Bf-blender-cvs] [c95a8bc68fb] master: UI: Follow up on recent VSE work
Aaron Carlisle
noreply at git.blender.org
Thu May 11 05:53:27 CEST 2017
Commit: c95a8bc68fb9c5b658693fa3a0478cc305295c40
Author: Aaron Carlisle
Date: Tue May 9 23:52:31 2017 -0400
Branches: master
https://developer.blender.org/rBc95a8bc68fb9c5b658693fa3a0478cc305295c40
UI: Follow up on recent VSE work
Fix a few more columns that should be rows
===================================================================
M release/scripts/startup/bl_ui/space_sequencer.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index f2deb127a08..e03c41a7ad9 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -642,8 +642,9 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel):
col.prop(strip, "translation_unit")
col = layout.column(align=True)
col.label(text="Position:")
- col.prop(strip, "translate_start_x", text="X")
- col.prop(strip, "translate_start_y", text="Y")
+ row = col.row(align=True)
+ row.prop(strip, "translate_start_x", text="X")
+ row.prop(strip, "translate_start_y", text="Y")
layout.separator()
@@ -655,8 +656,9 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel):
else:
col = layout.column(align=True)
col.label(text="Scale:")
- col.prop(strip, "scale_start_x", text="X")
- col.prop(strip, "scale_start_y", text="Y")
+ row = col.row(align=True)
+ row.prop(strip, "scale_start_x", text="X")
+ row.prop(strip, "scale_start_y", text="Y")
layout.separator()
@@ -714,7 +716,9 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel):
col.prop(strip, "align_x")
col.prop(strip, "align_y")
- col.prop(strip, "location")
+ col.label("Location")
+ row = col.row()
+ row.prop(strip, "location", text="")
col.prop(strip, "wrap_width")
layout.operator("sequencer.export_subtitles")
@@ -726,8 +730,9 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel):
if not strip.use_default_fade:
col.prop(strip, "effect_fader", text="Effect fader")
elif strip.type == 'GAUSSIAN_BLUR':
- col.prop(strip, "size_x")
- col.prop(strip, "size_y")
+ row = col.row(align=True)
+ row.prop(strip, "size_x")
+ row.prop(strip, "size_y")
class SEQUENCER_PT_input(SequencerButtonsPanel, Panel):
More information about the Bf-blender-cvs
mailing list