Re: [Non-DoD Source] Re: Things that we still doesn't have and need in UIBase sizing

2019-01-16 Thread Carlos Rovira
Hi Alex, El mar., 15 ene. 2019 a las 18:44, Alex Harui () escribió: > Hi Carlos, > > IMO, we want to abstract away platform/runtime-specific implementations in > the API surface. It is not a good idea to have our user's application rely > on API practices that may not work on all targets. So

Re: [Non-DoD Source] Re: Things that we still doesn't have and need in UIBase sizing

2019-01-15 Thread Alex Harui
Hi Carlos, IMO, we want to abstract away platform/runtime-specific implementations in the API surface. It is not a good idea to have our user's application rely on API practices that may not work on all targets. So first, we have to agree on what width/height is in Royale. I do not think

Re: [Non-DoD Source] Re: Things that we still doesn't have and need in UIBase sizing

2019-01-15 Thread Carlos Rovira
Hi Alex, El lun., 14 ene. 2019 a las 18:37, Alex Harui () escribió: > Right now there are some places where we unset by setting width/height to > "". I think those will have to change to "initial" but it is the same > principle. But changing "" to "initial" seems to me focus just in HTML

Re: [Non-DoD Source] Re: Things that we still doesn't have and need in UIBase sizing

2019-01-14 Thread Alex Harui
I've run into the "unset width/height" issue myself. IMO, unsetting width/height is platform-specific and shouldn't be in the API surfaces of the components. For me, I just had to pick the right place in the platform implementation to set the values. Right now there are some places where we

Re: [Non-DoD Source] Re: Things that we still doesn't have and need in UIBase sizing

2019-01-14 Thread Carlos Rovira
Hi Alex, El lun., 14 ene. 2019 a las 5:37, Alex Harui () escribió: > > NaN may not be a legal value on some runtimes/platforms. mmm...but, right now, since property is actually NaN, you can pass NaN value in Royale, so is a valid value actually, and I think Flex as well can accept NaN right?

Re: [Non-DoD Source] Re: Things that we still doesn't have and need in UIBase sizing

2019-01-13 Thread Alex Harui
On 1/13/19, 4:12 AM, "Carlos Rovira" wrote: *So, to refocus on the topic that open this thread. For me the decision is about:* *a) To use NaN in width and height, make this little change in setWidth to be able to use NaN* *this.positioner.style.width =

Re: [Non-DoD Source] Re: Things that we still doesn't have and need in UIBase sizing

2019-01-13 Thread Carlos Rovira
Hi Mark, right, I was aware that I can do this in my App. But what I want to do with this thread is to bring attention to our current "width" and "height" implementation I think we should have in some way or another a way to get things done in AS3/MXML instead to go down and create and assign a

RE: [Non-DoD Source] Re: Things that we still doesn't have and need in UIBase sizing

2019-01-11 Thread Kessler CTR Mark J
I'm slow getting to these emails, so if I've missed any, I apologize. After this last two weeks I've come to the realization that the FlexBox CSS style is greatly more flexible(no pun intended twice) than most of what we have in AS. I could write a pile of examples for most common layouts if