Skip to main content
Bram Hoekstra
Inspiring
March 22, 2019
Answered

How to fill up the space of a hidden object/panel by moving everything that's below up?

  • March 22, 2019
  • 2 replies
  • 514 views

I'd like to know how you can fill up the space of a hidden object/panel by moving everything up that's below that object/panel.

I hope someone can help me out.

This topic has been closed for replies.
Correct answer Dan Ebberts

I don't know if this helps, but you can use the 'stack' orientation to allow different groups and panels to occupy the same space, and make one at a time visible. I think the space itself gets sized for the largest one though, so that might be an issue...

Dan

2 replies

Mathias Moehl
Community Expert
Community Expert
March 23, 2019

It might also help to call

window.layout.layout()

window.layout.resize()

after hiding the panel such that the layout is calculated again after the change.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Dan Ebberts
Community Expert
Dan EbbertsCommunity ExpertCorrect answer
Community Expert
March 22, 2019

I don't know if this helps, but you can use the 'stack' orientation to allow different groups and panels to occupy the same space, and make one at a time visible. I think the space itself gets sized for the largest one though, so that might be an issue...

Dan