Re: FlexJS min/max width/height

2016-07-26 Thread Alex Harui
On 7/26/16, 1:58 PM, "Harbs" wrote: >Two issues: > >1. I’m not sure I understand how SimpleCSSStyles is working. Not every >style value is enumerated there. For example, I noticed that width and >height are being set to styles in various places, but they are not >enumerated. SimpleCSSStyles an

Re: FlexJS min/max width/height

2016-07-26 Thread Harbs
Two issues: 1. I’m not sure I understand how SimpleCSSStyles is working. Not every style value is enumerated there. For example, I noticed that width and height are being set to styles in various places, but they are not enumerated. 2. I’m not sure I understand the flow of bead behaviors: Imagi

Re: FlexJS min/max width/height

2016-07-26 Thread Harbs
Canvas does not have “elements". You can apply CSS to a canvas element, but that will not help for anything drawn on the canvas. If we have “Rect”, “Circle” “Path”, etc. for Canvas, these will have to be abstractions of the canvas drawing APIs. This is totally doable (as EaselJS did and I belie

Re: FlexJS min/max width/height

2016-07-26 Thread Alex Harui
On 7/26/16, 12:51 PM, "Harbs" wrote: >No Canvas doe not have this built in. I guess I'm having trouble understanding you today. You said using CSS wouldn't work for Canvas elements. What does that mean? -Alex

Re: FlexJS min/max width/height

2016-07-26 Thread Harbs
No Canvas doe not have this built in. We’ll cross that bridge when we get to it. ;-) On Jul 26, 2016, at 10:43 PM, Alex Harui wrote: > > > On 7/26/16, 11:58 AM, "Harbs" wrote: > >> OK. I forgot that there was a css property for this. >> >> That should work for everything but canvas element

Re: FlexJS min/max width/height

2016-07-26 Thread Alex Harui
On 7/26/16, 11:58 AM, "Harbs" wrote: >OK. I forgot that there was a css property for this. > >That should work for everything but canvas elements. That might be OK.. Does Canvas have min/max? If so, then our implementation of Canvas in the HTML5 swc would as well, but it wouldn't be in UIBase

Re: FlexJS min/max width/height

2016-07-26 Thread Harbs
OK. I forgot that there was a css property for this. That should work for everything but canvas elements. That might be OK.. On Jul 26, 2016, at 7:43 PM, Alex Harui wrote: > > > On 7/26/16, 9:37 AM, "Harbs" wrote: > >> Any objections to me adding min and max widths and heights to UIBase? >>

Re: FlexJS min/max width/height

2016-07-26 Thread Alex Harui
On 7/26/16, 9:37 AM, "Harbs" wrote: >Any objections to me adding min and max widths and heights to UIBase? > >Is there a bead that’s more appropriate? I'd rather it go in a bead since, IMO, it isn't needed by everybody. In JS aren't these styles? If so, they can be added to SimpleCSSStyles o

FlexJS min/max width/height

2016-07-26 Thread Harbs
Any objections to me adding min and max widths and heights to UIBase? Is there a bead that’s more appropriate?