Resize docked view based on content

Is there a way to resize a docked view based on content? Right now I see I have to give the docked view a size in the page configuration, but if I start changing the text in a text box that is in the docked view I would like the docked view to resize to either fit all the content or shrink to not display a bunch of white space. What would be the best way to achieve this?

@Jonathan did you find any solution to solve that. i will like to achieve the same thing as you.

Me too…

I abandoned the approach and switched to a single page application. Instead of docked views I use embedded views that can be resized depending on content.