Found this thread, in short you can't dynamically changing it by setting a basis and grow/shrink like an embedded view.
Depending on your need you could, use an alter dock script using system.perspective.alterDock
, to dynamically change the docked view when you need.
Or you could set a few docked views on top of each other with display set to auto and set the auto break point for them to appear.