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 fi

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 tha

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 plat

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

2019-01-14 Thread Alex Harui
children in the cross axis > > direction. > > > > I'll have to add more to the email later on, but this part can go out > > now. Could make a very large wiki page on layout in MXML with the > flexbox > > logic. &g

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

2019-01-14 Thread Carlos Rovira
verflow by default. If you'd prefer you could > use > > the "flex-wrap: wrap" to have it wrap the children in the cross axis > > direction. > > > > I'll have to add more to the email later on, but this part can go out

Re: Using em vs px (was. Re: Things that we still doesn't have and need in UIBase sizing)

2019-01-14 Thread Carlos Rovira
Hi Mark, just created a new thread for this. thanks! El lun., 14 ene. 2019 a las 13:39, Mark Kessler (< kesslerconsult...@gmail.com>) escribió: > Carlos, > I can give it a shot when I'm at home. However, what about the > direct width/height assignments. Should they do EM assignment too or >

Re: Using em vs px (was. Re: Things that we still doesn't have and need in UIBase sizing)

2019-01-14 Thread Mark Kessler
Carlos, I can give it a shot when I'm at home. However, what about the direct width/height assignments. Should they do EM assignment too or should there be a new widthEM heightEM property added? -Mark K On Sun, Jan 13, 2019 at 6:58 AM Carlos Rovira wrote: > > Hi Mark, > > thanks for the i

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

2019-01-13 Thread Alex Harui
y large wiki page on layout in MXML with the flexbox > logic. > > -Mark K > > > > > -----Original Message----- > From: Carlos Rovira [mailto:carlosrov...@apache.org] > Sent: Thursday, January 10, 2019 2:50 PM > To: dev@royal

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

2019-01-13 Thread Carlos Rovira
t; > -Mark K > > > > > -----Original Message- > From: Carlos Rovira [mailto:carlosrov...@apache.org] > Sent: Thursday, January 10, 2019 2:50 PM > To: dev@royale.apache.org > Subject: [Non-DoD Source] Re: Things that we still doesn't have and need > in U

Re: Using em vs px (was. Re: Things that we still doesn't have and need in UIBase sizing)

2019-01-13 Thread Carlos Rovira
> > > > > > > > > > -Mark K > > > > -Original Message- > From: Carlos Rovira [mailto:carlosrov...@apache.org] > Sent: Thursday, January 10, 2019 2:58 PM > To: dev@royale.apache.org > Subject: [Non-

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
M To: dev@royale.apache.org Subject: [Non-DoD Source] Re: Things that we still doesn't have and need in UIBase sizing Hi Mark, thanks for joining to the discussion: El jue., 10 ene. 2019 a las 20:31, Kessler CTR Mark J () escribió: > > Back on topic, I was able to avoid using max size

RE: Using em vs px (was. Re: Things that we still doesn't have and need in UIBase sizing)

2019-01-11 Thread Kessler CTR Mark J
ete="onApplicationComplete()" > -Mark K -Original Message- From: Carlos Rovira [mailto:carlosrov...@apache.org] Sent: Thursday, January 10, 2019 2:58 PM To: dev@royale.apache.org Subject: [Non-DoD Source] Using em vs px (was. Re: Things that we still

Using em vs px (was. Re: Things that we still doesn't have and need in UIBase sizing)

2019-01-10 Thread Carlos Rovira
Hi Mark, renaming this since I thing is very different topic. I must say that I don't understand completely what you are trying to share, But I'm completely open to make changes from px to em or viceversa if we get a better result. So first: El jue., 10 ene. 2019 a las 20:31, Kessler CTR Mark J

Re: Things that we still doesn't have and need in UIBase sizing

2019-01-10 Thread Carlos Rovira
Hi Mark, thanks for joining to the discussion: El jue., 10 ene. 2019 a las 20:31, Kessler CTR Mark J () escribió: > > Back on topic, I was able to avoid using max size declarations by adding > in CSS to utilize the flex-box CSS alignments to fill and distribute sizes. > Very interesting, co

Re: Things that we still doesn't have and need in UIBase sizing

2019-01-10 Thread Carlos Rovira
Hi Alex, El jue., 10 ene. 2019 a las 19:22, Alex Harui () escribió > > I know Flex users are used to having these properties, and the emulation > components have them for backward compatibility (plus emulation isn't > focused on code-size) but I was thinking that in almost all other cases, > prop

RE: Things that we still doesn't have and need in UIBase sizing

2019-01-10 Thread Kessler CTR Mark J
I have a side question on this topic of size and size properties. I'm just finishing up a 10 day test conversion of a small application interface and was surprised to see us use PX a lot in the layout when it's on the JS side of things. I was specifically using the jewel set to test with.

Re: Things that we still doesn't have and need in UIBase sizing

2019-01-10 Thread Alex Harui
Hi Carlos, As you noted, there is code-size/PAYG impact to adding more and more sizing/measurement properties. After you add min-width/max-width someone will then want explicitMinWidth and so-on. Flex has quite a few of these properties. I know Flex users are used to having these properties,

Things that we still doesn't have and need in UIBase sizing

2019-01-10 Thread Carlos Rovira
Hi, while working with Royale I'm finding that we need some things for in UIBase for sizing from AS3/MXML: - Set min-width - Set max-width - Manage width = NaN (in CSS this is set style to "initial") (same for height) I can create a CSS selector and apply it to the component. But this seems mor