TablePane supports sizing children based on a percentage of the available area:

http://pivot.apache.org/tutorials/table-panes.html

However, if you can describe more specifically what you are trying to do, maybe 
we can suggest a better alternative.


On Apr 20, 2010, at 7:00 PM, Shahzad Bhatti wrote:

> I have tried this solution by using StackPane as parent, and using other 
> containers such as tabs, expanders, scrollpanes and tables as its children 
> but it's not resizing them. Is there another solution to defining children 
> based on percentage of parent size rather than absolute width/height. Thanks.
> 
> 
> On 4/15/10 11:47 AM, "Greg Brown" <[email protected]> wrote:
> 
> No, but you can achieve something similar by using a parent container that 
> will size a child component to fill its available area (such as StackPane).
> 
> On Apr 15, 2010, at 2:43 PM, Shahzad Bhatti wrote:
> 
>> I noticed that setMaximized is only available for Window and its subclasses. 
>> Is it possible to use setMaximum for BoxPane, TablePane or Border or a way 
>> to add these containers based on parent's size. Thanks.
>> 
>> ______________________________________________
>> 
>> See  http://www.peak6.com/email_disclaimer.php
>> for terms and conditions related to this email
> 
> 

Reply via email to