> I use myPanelInstance.getStyle("headerHeight") and it returns
> undefined until you set any value manually using
> myPanelInstance.setStyle("headerHeight", newValue). But actually
> header exists, so it should have some height. Usually it was 28, not
> undefined. What is wrong?
Isn't this the 3rd (or 4th) time you're asking this? Isn't it obvious?
It returns undefined because it's not defined :D

Open <flex install dir>\frameworks\source\mx\containers\Panel.as and
see the methods getHeaderHeight (line 1408), measureHeaderText (line
1382) and maybe the value of HEADER_PADDING (line 383). You'll
probably figure why it appears to be 28 (as long as you don't make the
font size of either title or status bigger).

HTH,
GK


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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to