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 <ser...@likyateknoloji.com>
*Date: *Tuesday, June 16, 2020 at 7:53 PM
*To: *"users@royale.apache.org" <users@royale.apache.org>, Alex Harui <aha...@adobe.com>
*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