[Bf-blender-cvs] [c9fd25b0709] modifier-panels-ui: Use row header for strip proxy resolutions
William Reynish
noreply at git.blender.org
Thu Apr 16 21:30:22 CEST 2020
Commit: c9fd25b07090b8692efeefcf5a81092274546cc1
Author: William Reynish
Date: Sun Apr 12 22:20:06 2020 +0200
Branches: modifier-panels-ui
https://developer.blender.org/rBc9fd25b07090b8692efeefcf5a81092274546cc1
Use row header for strip proxy resolutions
===================================================================
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 e927dda2308..ff7e5cfeba3 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -1868,21 +1868,19 @@ class SEQUENCER_PT_strip_proxy(SequencerButtonsPanel, Panel):
flow = layout.column_flow()
if ed.proxy_storage == 'PER_STRIP':
- flow.prop(proxy, "use_proxy_custom_directory")
- flow.prop(proxy, "use_proxy_custom_file")
-
+ col = layout.column(heading = "Custom Proxy")
+ col.prop(proxy, "use_proxy_custom_directory", text = "Directory")
if proxy.use_proxy_custom_directory and not proxy.use_proxy_custom_file:
- flow.prop(proxy, "directory")
+ col.prop(proxy, "directory")
+ col.prop(proxy, "use_proxy_custom_file", text = "File")
if proxy.use_proxy_custom_file:
- flow.prop(proxy, "filepath")
+ col.prop(proxy, "filepath")
- box = layout.box()
- row = box.row(align=True)
- row.prop(strip.proxy, "build_25")
- row.prop(strip.proxy, "build_75")
- row = box.row(align=True)
- row.prop(strip.proxy, "build_50")
- row.prop(strip.proxy, "build_100")
+ row = layout.row(heading = "Resolutions", align = True)
+ row.prop(strip.proxy, "build_25", toggle = True)
+ row.prop(strip.proxy, "build_75", toggle = True)
+ row.prop(strip.proxy, "build_50", toggle = True)
+ row.prop(strip.proxy, "build_100", toggle = True)
layout.use_property_split = True
layout.use_property_decorate = False
More information about the Bf-blender-cvs
mailing list