It is same in flex Alex. But I do not get why you ask flex.

It was working for royale afa i remember.

The source is complete example you can test the header is invisible.

Serkan

24.02.2020 19:59 tarihinde Alex Harui yazdı:

If the Panel’s height is 20, then the content height should be 0.  All you should see is the titlebar.

What is the height of the Panel in Flex?

-Alex

*From: *Serkan Taş <serkan....@likyateknoloji.com>
*Reply-To: *"users@royale.apache.org" <users@royale.apache.org>
*Date: *Monday, February 24, 2020 at 2:25 AM
*To: *"users@royale.apache.org" <users@royale.apache.org>, Alex Harui <aha...@adobe.com>
*Subject: *Re: style : overflow : auto

Here is the sample code for the case, I can not discover what makes the header invisible :

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"; <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C0f89c744975244c07a0f08d7b913ea2b%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637181367500217306&sdata=LaAoXGGkqcZOXTlFZhijNrH%2BnJlPJo5YetaPcosT%2FQI%3D&reserved=0>
xmlns:s="library://ns.apache.org/royale/spark"
               xmlns:mx="library://ns.apache.org/royale/mx"
               paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
               height="100%" width="100%"
               >
    <fx:Script>
        <![CDATA[
        ]]>
    </fx:Script>

    <s:Panel id="headerPanel" width="100%" height="20" >
        <s:Label x="95" y="-24" fontSize="18" fontWeight="normal" text="PInara Workload Manager"/>

        <s:Label y="-18" right="300" fontWeight="bold" text="Sürüm : "/>
        <s:Label y="-18" right="250" fontWeight="bold" text="{' V ' + 0.0"/>
        <s:Label y="-18" right="90" fontWeight="bold" text="time"/>

        <mx:Button y="-27" right="56" width="20" toolTip="logout"/>
        <mx:Button y="-27" right="30" width="20" toolTip="Türkçe"/>
        <mx:Button y="-27" right="5" width="20" toolTip="English"/>

    </s:Panel>
</s:Application>

24.02.2020 09:11 tarihinde Serkan Taş yazdı:

    I'll try to find out.

    24.02.2020 08:00 tarihinde Alex Harui yazdı:

        The height probably shouldn’t end up as 0px.  We see this
        often and have to debug into why it ended up as 0 and not some
        more useful number.

        -Alex

        *From: *Serkan Taş <serkan....@likyateknoloji.com>
        <mailto:serkan....@likyateknoloji.com>
        *Reply-To: *"users@royale.apache.org"
        <mailto:users@royale.apache.org> <users@royale.apache.org>
        <mailto:users@royale.apache.org>
        *Date: *Sunday, February 23, 2020 at 11:31 AM
        *To: *"users@royale.apache.org"
        <mailto:users@royale.apache.org> <users@royale.apache.org>
        <mailto:users@royale.apache.org>
        *Subject: *style : overflow : auto

        Hi,

        Due to overflow value the component is not displayed. Any ideas ?



        Thanks,
        Serkan





Reply via email to