I have reimplemented getHeaderHeight() method that is private in Panel unfortunately. I do not want to apply new headerHeight style property value, but I want to know default. Sure, it is based on the style of the title text, though it is still calculable.

On 8/16/06, Samuel Reuben <[EMAIL PROTECTED]> wrote:
Hi Sergey,
 
Good observation. Why do you need the header height? The documentation says, "The default value is based on the style of the title text."
So there is no fixed default header height, it depends on the Title text font size.
 
Having said that, the getStyle("headerHeight") should return the actual height of the header.
 
So for now, if you really want a number returned set the headerHeight and it will work fine.
 
Thanks,
-sam
 
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to