[Bf-blender-cvs] [cf08dc9] master: Use toggle buttons instead of checkboxes for VSE proxy percentage

Julian Eisel noreply at git.blender.org
Fri Nov 6 15:02:55 CET 2015


Commit: cf08dc9f0c201e60d9aeb1469937afa6ceb94bc4
Author: Julian Eisel
Date:   Fri Nov 6 14:56:32 2015 +0100
Branches: master
https://developer.blender.org/rBcf08dc9f0c201e60d9aeb1469937afa6ceb94bc4

Use toggle buttons instead of checkboxes for VSE proxy percentage

Was inconsistent with Clip Editor which uses toggle buttons. Toggle buttons are narrower, so changing to them.

Reported in T46708.

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

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 58df864..eb4625d 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -966,11 +966,11 @@ class SEQUENCER_PT_proxy(SequencerButtonsPanel, Panel):
                 if proxy.use_proxy_custom_file:
                     flow.prop(proxy, "filepath")
 
-            row = layout.row()
-            row.prop(strip.proxy, "build_25")
-            row.prop(strip.proxy, "build_50")
-            row.prop(strip.proxy, "build_75")
-            row.prop(strip.proxy, "build_100")
+            row = layout.row(align=True)
+            row.prop(strip.proxy, "build_25", toggle=True)
+            row.prop(strip.proxy, "build_50", toggle=True)
+            row.prop(strip.proxy, "build_75", toggle=True)
+            row.prop(strip.proxy, "build_100", toggle=True)
 
             layout.prop(proxy, "use_overwrite")




More information about the Bf-blender-cvs mailing list