pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: Why window is small
Date Thu, 26 Aug 2010 12:51:42 GMT
Possibly - Todd wrote that component, so he would have a better idea of what the issues might
be.

On Aug 26, 2010, at 8:48 AM, Noel Grandin wrote:

> Is there a particular reason for that?
> 
> It sounds like a sane default to me that a SplitPane should use the sizes of it's children
in it's preferredSize
> calculation?
> 
> -- Noel
> 
> Greg Brown wrote:
>> You are correct - SplitPane does not have a preferred size (or rather, it has a preferred
size of 0x0). It relies on
>> being given an explicit size by its parent. Giving the Frame a preferred size as
Chris suggested is the right solution.
>> G
>> 
>> 
> 


Mime
View raw message