Posted 02 Dec 2008
Link to this post
I am trying to make a form with two UserDockControl panels on it. The first should always be docked to the left and may be hidden or resized, but not closed. Ideally I would like to have a minimum size on this dock so that it always looks nice and contains everything it should. But I must be able to initialize the width so that when the form first shows up, it shows up with enough space. The second panel will have an image displayed, so it needs to take all of the available space.
Right now on my form I am using
What happens is that the LargeUserDockControl takes up too much space. I have tried setting the size of SmallUserDockControl just about every where I can think. I've tried changing PreferredSize, PreferredDockSize, MinSize, MinimumSize. Any ideas?