Right!, so "basic" is from "BasicLayout", and there's a bug somewhere that
is not removing that selector.
I think the problem is that in the mxml declaration, Royale never tries to
assign a BasicLayout and goes directly with the new one.
Instead, in the other way it adds BasicLayout, and then the other. But we
need to do maintenance and remove class names as the bead is replaced

El sáb., 26 ene. 2019 a las 12:09, Piotr Zarzycki (<
[email protected]>) escribió:

> Carlos,
>
> This is html output when you add Vertical layout dynamically ->
> https://imgur.com/7MhKEyS - basic is not needed yes ?
>
> Thanks,
> Piotr
>
> sob., 26 sty 2019 o 12:06 Carlos Rovira <[email protected]>
> napisał(a):
>
> > Changing subject since this seems not related to FormItem right?
> >
> > to see what's happening and understand the problem and find a solution we
> > should look at:
> >
> > * generated HTML: since all in Jewel is CSS based, what is the html
> output?
> >
> > The way I think Royale works (for Basic, Jewel,..), is that adding a bead
> > in MXML will be added to the beads array. I think the other bead is not
> > removed and still is there, but the new one takes precedence and when
> > component ask for the layout bead it gets the latest.
> >
> > Maybe this is a problem related to the way Royale manage beads, or is a
> > problem to Jewel not updating correctly css selectors.
> >
> >
> > El sáb., 26 ene. 2019 a las 11:46, Piotr Zarzycki (<
> > [email protected]>) escribió:
> >
> > > Carlos,
> > >
> > > I discovered also one more bug or at least I'm thinking about that as a
> > > bug. Having following code [1] does work, but if I add bead
> dynamically -
> > > it doesn't work. [2] - I believe fix can be placed in method
> > > beadsAddedHandler
> > > - Do you think this is a bug and fix can be here ?
> > >
> > > [1] https://paste.apache.org/IvoK
> > > [2] https://paste.apache.org/kyfP
> > >
> > > Thanks,
> > > Piotr
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to