Hi,
Hope you can help me. One of my WeblayoutPanels is ignoring the PreferredSize property and always opening up at the size specified in MaxSize. I'm fairly sure that it is something to do with Filled property but for the life of me I can't get this to work correctly.
Here's my setup.
A WebLayout container. FitParent = FitWindow with one panel.
Inside that panel are four WebLayoutPanels
1. Header panel. Min/max size to 100 px, Filled = False
2. Patient Information panel. MinSize=55, MaxSize=100, PreferredSize = 32, Filled = False
3. Menubar panel, Min/Max size set to 32 px, Filled = False
4. Content panel. Filled = True. This panel also holds a WebSpliterContainer with two WebSpliterPanels. Second panel has Filled=true.
Here's my problem. I want to be able to expand panel #2 (Patient Information panel) on a mouse click. Fairly sure that just getting the panel and setting the preferred size will do this. (Works OK in a simple test set-up). But, the problem is the panel always expands to the MaxSize of 100 and never uses the preffered size.
I'm played around with the Filled properties on the panel with no joy.
Any suggestions on how to force panel #2 to the preferred size?