Page MenuHome

UI: Make Scene strip panel consistent with current UI styles
ClosedPublic

Authored by Peter Fog (tintwotin) on Mar 9 2021, 1:36 PM.

Details

Summary

The scene setting was not using property_split.
Camera setting was off-centered.
Volume was missing decorate(though it is possible to animate the value).
Volume was placed in between the camera settings.
GP and Transparent was not using Heading.

Before/After:

.blend with scene strip properties exposed:

Diff Detail

Event Timeline

Peter Fog (tintwotin) requested review of this revision.Mar 9 2021, 1:36 PM
Peter Fog (tintwotin) created this revision.
Peter Fog (tintwotin) edited the summary of this revision. (Show Details)Mar 9 2021, 1:49 PM
Peter Fog (tintwotin) edited the summary of this revision. (Show Details)Mar 9 2021, 1:58 PM

Apart from whitespace issues, seems OK

This revision is now accepted and ready to land.Mar 18 2021, 5:43 PM
Hans Goudey (HooglyBoogly) added inline comments.
release/scripts/startup/bl_ui/space_sequencer.py
1432–1438

What's all this extra logic for? Why not the following?

layout.prop(scene, "audio_volume", text="Volume")
1449

Extra new-line here

Peter Fog (tintwotin) marked an inline comment as done.Mar 18 2021, 10:25 PM
Peter Fog (tintwotin) added inline comments.
release/scripts/startup/bl_ui/space_sequencer.py
1432–1438

It's because it'll be misaligned without it:

Peter Fog (tintwotin) marked 2 inline comments as done.

Remove extra line.

release/scripts/startup/bl_ui/space_sequencer.py
1432–1438

Ah, weird, okay, thanks. Maybe add a comment saying that, like this maybe?

# Build a manual split layout as a hack to get proper alignment with the rest of the buttons.

Updated according to comments.

Peter Fog (tintwotin) marked an inline comment as done.Mar 19 2021, 6:55 AM
This revision was automatically updated to reflect the committed changes.