Actually if the width of the adg cell calculated correctly it would be displayed properly.

This is what happens in flex.

For the royale, when centering the image group, the images are centered according to a wider area so the view is cropped and not displayed properly.

While debugging, images are loaded first and then moved step by step to the right and  some parts disappears.

Only the first of the three images in group can be seen.




Thanks,
Serkan

18.06.2020 08:16 tarihinde Alex Harui yazdı:

Do you want left-justified or centered? I’m guessing the centering happens before the images are loaded and thus the center Is not calculated properly.  Image should force a re-layout but maybe it isn’t.

HTH,

-Alex

*From: *serkan <[email protected]>
*Reply-To: *"[email protected]" <[email protected]>
*Date: *Wednesday, June 17, 2020 at 3:17 AM
*To: *"[email protected]" <[email protected]>
*Subject: *Re: hscroll bar for adg hides the content

The issue is related with horizontalCenter="0". After removing the definition the images are left justified.

When using images, I think the calculation of the component width is somehow wrong.

I am creating an issue.

Thanks,
Serkan

17.06.2020 07:04 tarihinde Alex Harui yazdı:

    Looks like HorizontalLayout has a bug.  I don’t think there are
    too many HorizontalLayouts in the app so if you set a breakpoint
    in updateDisplayListReal you will hopefully see what it is thinking.

    Or maybe you’ll learn enough to set up a simple test case with a
    set of icons and HorizontalLayout.

    HTH,

    -Alex

    *From: *serkan <[email protected]>
    <mailto:[email protected]>
    *Date: *Tuesday, June 16, 2020 at 7:53 PM
    *To: *"[email protected]" <mailto:[email protected]>
    <[email protected]> <mailto:[email protected]>, Alex
    Harui <[email protected]> <mailto:[email protected]>
    *Subject: *Re: hscroll bar for adg hides the content

    It is so confusing that even the page is loaded, still the setx
    method called with the condition value continuously.

    Even for every item in layout related with grid I guess.

    I can not resolve "what code thinks that left/x should be 76"

    Here is the call stack :



    Thanks,
    Serkan

    16.06.2020 23:44 tarihinde Alex Harui yazdı:

        How to fix depends on why it is broken.  If you can put a
        breakpoint on UIBase’s setX and set it conditional to the
        value==76 it should show you what code thinks that left/x
        should be 76 and then we can figure out how to change that.

        HTH,

        -Alex







Reply via email to