to separate things:
Such as? Depending on your layout, left, top, width, and height will be
> set in CSS. In UIBase, setting the x value sets style.left, etc. If
> there is an alternative, please let me know what it is.
> -Alex
>
>
I get this:
some texta
button
from this:
On 12/1/16, 4:01 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>to separate things:
>
>Such as? Depending on your layout, left, top, width, and height will be
>> set in CSS. In UIBase, setting the x value sets style.left, etc. If
>> there is an alternative, please let me kn
> I wish I could agree, but I don't think I can. IMO, some component
> features can only be implemented by setting style properties. In the
> example above, to keep Label as single-line (so you don't have to us
> and can just use space), we must set white-space:no-wrap. Allowing folks
> to twe
On Thu, Dec 1, 2016 at 4:55 PM, Carlos Rovira
wrote:
> > I wish I could agree, but I don't think I can. IMO, some component
> > features can only be implemented by setting style properties. In the
> > example above, to keep Label as single-line (so you don't have to us
>
> > and can just use
Re-ordering your post so I can address higher-level points first:
On 12/1/16, 4:55 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>
>But Basic set is at the core of
>all. Is at the core of MDL set
>
>
This statement doesn't have to be true, and makes me think that the old
Flex
Alex's first point about using the same beads, but not subclassing sounds
cleaner to me, Carlos. Kind of the same idea from the other day where all
components should be possible to recreate from UIBase with the right set of
beads. You should consider trying that out for MDL.
- Josh
On Dec 1, 2016
Hi Josh,
right. As I get some few components more, I think I could refactor removing
the dependencies from some HTML comps so we could manage better MDL set. So
for example, I will took things from Core, like UIBase or ContainerBase
while removing html things like TextButton, Container and so on..
In Radiate I convert Flex UIComponents to HTML components and had this
problem. I made an option to allow styles to be defined inline or in a
style sheet. If the option was stylesheet then if the component had an id
the styles were declared by id. This included position, size, etc:
#myLabel {