If you can post a test case, I'd be interested to see it.  We recently
turned off this "layout on paint" feature and added the manual override
because:
1. Turning it off caused significant performance improvements, especially
when scrolling.
2. All of my samples seemed to still work fine with it off.

Rather than rely on this flag, it would be better to identify the edge
cases that fail without it, so we can fix those.



On Fri, Jan 10, 2020 at 4:37 PM Dave Dyer <[email protected]> wrote:

>
> A stroll through the code revealed that the frame was never laid out, and
> adding
> this incantation to the form creation fixes the problem.
>
>             setAllowEnableLayoutOnPaint(true);
>
> It may be the case that I'm especially vexed by this because my frames
> are blank (contain no widgets) from your point of view.
>
> I'd appreciate any insight into why this came up on today's build but
> never before.
>
> --
> You received this message because you are subscribed to the Google Groups
> "CodenameOne Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/c61d51ad-6b65-4899-8608-edfbe2125c84%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/c61d51ad-6b65-4899-8608-edfbe2125c84%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKVMr4sSDOVbz8dy%3DcZfTO5uhJgJQRqeEjZDfuz%3DefTiOQ%40mail.gmail.com.

Reply via email to