
Originally Posted by
adamarmistead
To set the initial view with you can call desktop.setDockableWidth(..) if you want to specify the width as a proportion of the container width. If you want to control how its width changes when the main window is resized you need to set the resize weight on the DockKey for the dockable view.
Currently the VLDockingViewDescriptor does not support setting the resize weight so there is no way to enforce them through configuration as far as I have found short of extending VLDockingApplicationPage, VLDockingAplicationPageFactory, VLDockingViewDescriptor, and ViewDescriptorDockable and adding resize weight support.
If you would like I can create a jira issue for this just like the one I have for DockGroup support and submit a patch to add support for setting the resize weight of a view through configuration in the application context xml.