Re: [flexcoders] How to get Panel headerHeight and what is its default value?

2006-08-13 Thread Sergey Kovalyov
Also this makes example, provided in help, not working. That example also refers to getStyle(headerHeight) value. As I remember it returned default value, not undefined, in Flex 1.5. On 8/12/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: On 8/12/06, Gunther Konig [EMAIL PROTECTED] wrote: Isn't

[flexcoders] How to get Panel headerHeight and what is its default value?

2006-08-12 Thread Sergey Kovalyov
Hi All! 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? Regards, Sergey. --

Re: [flexcoders] How to get Panel headerHeight and what is its default value?

2006-08-12 Thread Gunther Konig
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

Re: [flexcoders] How to get Panel headerHeight and what is its default value?

2006-08-12 Thread Sergey Kovalyov
On 8/12/06, Gunther Konig [EMAIL PROTECTED] wrote: 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 Yes, but there was no answer. :) Open flex install dir\frameworks\source\mx\containers\Panel.as and see the methods