Hello,

I incurred the same problem. I solved it by creating
my own component in mxml that extends panel. Below is
the code of that component.

<?xml version="1.0" encoding="utf-8"?>
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute" headerHeight="0" borderStyle="solid"
shadowDistance="0" >
        
</mx:Panel>

Actually you have to set "headerHeight" property to 0.
However, I couldn't find this property in panel object
using ActionScript. So I decided to extend panel
control using MXML and set headerHeight to 0. I still
don't know why this attribute can not be access via
panel actionscript object.

Hope this helps.

Regards,
Jehanzeb

--- imjackson84 <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I would like to be able to optionally hide the title
> bar of the main
> Panel container in my application, so that the top
> border appears the
> same as the other 3 sides. I have tried extending
> the Panel class with
> a function to set the titleBar.height property to 0,
> but this did not
> work. I also tried setting the explicitHeight and
> minHeight, but again
> no joy.
> 
> Does anyone have any idea? I haven't been able to
> find any solutions
> in my searches...
> 
> Iain
> 
> 



      
____________________________________________________________________________________
Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 

Reply via email to