Hi,

In Pivot 1.5, you don't need to do anything special in the skin to handle these 
values. They basically act as bounds on the calculated values - the bounding 
calculations are handled by the Component class. 

However, there is a problem with this approach - the bounding values aren't 
taken into consideration when calculating a constrained preferred size. So, in 
Pivot 2.0 these properties will be replaced with explicit max/min size 
properties. Applicable Pivot 2.0+ skins will need to respect these values:

https://issues.apache.org/jira/browse/PIVOT-473

Just out of curiosity, have you looked at TablePane? It is meant to address the 
same use cases as a DockPanel, but is more flexible.

Greg

On Jun 22, 2010, at 10:48 AM, Gregory Lampshire wrote:

> What are these used for or at least, how should they be honored in layout?
> 
> 
> 
> I wrote a quick and dirty DockPanel component which works fine but I was
> wondering if I should checking those values for some reason. Or are they
> consulted somewhere else!?!? Or should I be using them in my preferredWidth
> and preferredHeight methods?
> 

Reply via email to