Register | Login

ZettaCube Forum and Knowledge Base

Welcome to ZettaCube forum. Here you can discuss various issues regarding our ZeeControls product. If you want to contact our developers directly, please email to support@zettacube.com.

Please register to post a message. Registration is immediate and free. Return users please login here.

 
  Forum  Discussions  WebLayout and W...  Having trouble with preferred size
Previous Previous
 
Next Next
New Post 8/21/2009 7:07 AM
  Mike Thomas
4 posts
No Ranking


Having trouble with preferred size 

 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?

 

 

 
New Post 8/26/2009 10:32 AM
  ZettaCube Support
57 posts
No Ranking


Re: Having trouble with preferred size 

 

We learnt from the user that the problem had been solved.

 
Previous Previous
 
Next Next
  Forum  Discussions  WebLayout and W...  Having trouble with preferred size
Copyright 2009 by ZettaCube Limited