PDA

View Full Version : A Frustrated Newbie



JohnT
13 Jan 2007, 8:55 PM
First and foremost, thanks, Jack for this awesome library.

Ok, just when I thought I was getting the hang of finding my way around your documentation, BAM... I spend over an hour trying to figure out whether or not I can specify a percentage rather than pixels for a region.

Of course I searched this forum, as well as the docs for "initialSize" and ya know what, I cannot find this thing.

So MY QUESTION is....

How would I know where to look for the documentation on , let's say , "initialSize" ?

I've been clicking for an hour, and can't find it. I started with YAHOO.ext.BorderLayout and drilled down from there, and for the life of me, cannot find where this is.

Where am I going wrong? And please, if you really want to help, giving an explanation rather than just a link, would be greatly appreciated - as I would like to understand how to find properties and methods myself in the future.

Regards,

JohnT

Animal
13 Jan 2007, 11:55 PM
No, initialsize is in pixels. But you might be able to work out the pixels as a %age of the initial size of the region.

It is probably possible for the BorderLayout class to be enhanced to offer %age.