The container now wraps the components so you need to do:
Container cnt = LayeredLayout.encloseIn(con, progress);
con.getParent().replace(con, cnt, null);
Then to remove the infinite progress:
con.remove();
cnt.getParent().replace(cnt,con, null);
Notice the last argument can be a transition lik
im doing that but the problem its that the function returns a container and
not the original object type. can be possible to add the getLayeredPane
functionality to the controls who derives from Container?
think in that way, can be possible to add infiniteprogress to containers or
labels ind
Why not just use InfiniteProgress with the code you have above instead of
the layer container?
--
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 codena
No shai, just to the component.
it can be usefull to add and infiniteprogress when a control is loading
asyncronously
ideas?
regards and happy hollidays
On Thursday, August 10, 2017 at 1:28:28 AM UTC-3, Shai Almog wrote:
>
> Hi,
> there are lots of ways but I'm not sure I can comment on "bes
Hi,
there are lots of ways but I'm not sure I can comment on "best" as each has
its uses.
Are you adding an infinite progress to the entire form?
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop