Re: Need help with CSS class selector (font-family is always Arial)

2018-01-02 Thread Gabe Harbs
I don’t think moving it to Application is going to help for things like dialogs. (Or will it?) > On Jan 2, 2018, at 8:03 PM, Alex Harui wrote: > > Maybe, but I hit this with my mock up of the Royale website as well. > Since a lot of things are composed from other smaller pieces, I think we > wa

Re: Need help with CSS class selector (font-family is always Arial)

2018-01-02 Thread Alex Harui
Maybe, but I hit this with my mock up of the Royale website as well. Since a lot of things are composed from other smaller pieces, I think we want defaults where the CSS applied to the outer element of a component applies to its children. It looks like inherited properties have lower priority than

Re: Need help with CSS class selector (font-family is always Arial)

2018-01-02 Thread Gabe Harbs
I’m guessing that the ACE Editor has sub-elements that are picking up the globals rather than the ones for the ACEEditor element. I have not looked into this at all… Harbs > On Jan 2, 2018, at 5:50 PM, Alex Harui wrote: > > I haven't looked at his ACEEditor class, but it is also possible that

Re: Need help with CSS class selector (font-family is always Arial)

2018-01-02 Thread Alex Harui
I haven't looked at his ACEEditor class, but it is also possible that the following would work. .ACEEditor { font-family: monospace; } And that should be a goal as well: to have the defaults.css for the ACEEditor class to use an "ACEEditor" selector (instead of lowercase "aceEditor"). If the AC

Re: Need help with CSS class selector (font-family is always Arial)

2018-01-02 Thread Olaf Krueger
>Did you try this? Ha, this works!!!... and I guess it makes sense. However, I'll check out the type selector tomorrow... Thanks! Olaf -- Sent from: http://apache-royale-development.20373.n8.nabble.com/

Re: Need help with CSS class selector (font-family is always Arial)

2018-01-02 Thread Gabe Harbs
Did you try this? .aceEditor * { font-family: monospace; } > On Jan 2, 2018, at 5:28 PM, Olaf Krueger wrote: > > Hi Alex, > >> The key piece, I think, is that inherited properties in CSS have a lower >> importance that *... > > Yes, I think that's the problem: > > /* Generated by Apache Ro

Re: Need help with CSS class selector (font-family is always Arial)

2018-01-02 Thread Olaf Krueger
Hi Alex, >The key piece, I think, is that inherited properties in CSS have a lower >importance that *... Yes, I think that's the problem: /* Generated by Apache Royale Compiler */ * { font-family: Arial; border-width: 1px; font-size: 12px; } >IMO, that should be the goa

Re: Need help with CSS class selector (font-family is always Arial)

2018-01-02 Thread Alex Harui
I ran into this the other day but dodged around it and didn't look into it further until now. It might be that we shouldn't set as many properties in the * selector. I think I saw somewhere else that other "browser" stylesheets have defaults for each component and don't rely on *. The key piece,

Re: Need help with CSS class selector (font-family is always Arial)

2018-01-02 Thread Piotr Zarzycki
When you have compiled everything, what actually are you seeing in CSS for this Group and what, are you seeing in the children for that Group ? Piotr 2018-01-02 22:37 GMT+01:00 Olaf Krueger : > Still no success... other ideas? > > Thanks, > Olaf > > > > > > -- > Sent from: http://apache-royale-

Re: [Royale] Collection work

2018-01-02 Thread Alex Harui
And this one reason we have beads as a pattern. There is no one right way to preserve selection and selection should not always be preserved for certain kinds of data provider changes. So, create a bead that performs the selection preservation you need and give it a name that makes it clear what

Re: Need help with CSS class selector (font-family is always Arial)

2018-01-02 Thread Olaf Krueger
Still no success... other ideas? Thanks, Olaf -- Sent from: http://apache-royale-development.20373.n8.nabble.com/

Re: [Royale] Collection work

2018-01-02 Thread Piotr Zarzycki
Peter, You didn't misread, but my thoughts probably didn't far away into problem resolution. That's why I was surprise why I haven't thought about preserving selection. :) Thanks, Piotr 2018-01-02 22:10 GMT+01:00 Peter Ent : > I thought because you mentioned that rollover and selection were me

Re: Need help with CSS class selector (font-family is always Arial)

2018-01-02 Thread Piotr Zarzycki
Hi Olaf, Try inside js:Group -> https://paste.apache.org/NsUC Thanks, Piotr 2018-01-02 22:08 GMT+01:00 Olaf Krueger : > Hi, > I've successfully captured the ACE editor but there's one issue left [1]: > It seems to me that the Royale default font-family is always Arial and also > 'overwrites' ot

Re: [Royale] Collection work

2018-01-02 Thread Peter Ent
I thought because you mentioned that rollover and selection were messed up, that was the thing needing attention. I must have misread your email; I'll go back. In the meantime, I have a Button that inserts an item into the dataProvider. Before doing this I am: var oldSelection:Object = list.selec

Need help with CSS class selector (font-family is always Arial)

2018-01-02 Thread Olaf Krueger
Hi, I've successfully captured the ACE editor but there's one issue left [1]: It seems to me that the Royale default font-family is always Arial and also 'overwrites' other settings. The ACE editor depends on the monospace font but I am not able to set it just for the surrounding group/div by apply

Re: [Royale] Collection work

2018-01-02 Thread Piotr Zarzycki
How are you doing that preservation, by simply saving item somewhere before remove/add operation ? I'm not following the part where we you wanted some opinion. Actually in case of refreshing I didn't even thing about saving selection, but it's true that it should happen! It's surprises me that in

Re: [Royale] Collection work

2018-01-02 Thread Peter Ent
The first task is to determine if a list's selectedIndex or selectedItem should be preserved. For selectedIndex, adding or removing an item will get the same row selected until that row no longer exists. For selectedItem, adding or removing an item will keep the same item selected until that item

Re: Distinguish description in "royale-sdk-description.xml" between asjs and JSOnly

2018-01-02 Thread Piotr Zarzycki
Alex, I think I have an idea how to fix things. I will make it probably tomorrow. Thanks, Piotr 2018-01-02 8:38 GMT+01:00 Piotr Zarzycki : > Understand. Let me change that part to the state as it was. > > Thanks, Piotr > > 2018-01-02 8:35 GMT+01:00 Alex Harui : > >> Hi Piotr, >> >> I would not

Re: Creating a Simple Site

2018-01-02 Thread Piotr Zarzycki
Hi Dave, I see two directions: 1) Going with Basic/Express module where you will be able to styling things by CSS mostly to have it looking good. 2) Going with MDL module + things from other modules - where I believe stuff there maybe a bit more www oriented. Resources will be: [1] - Look into th

Re: Royale and Websites (was Re: About website actual work in progress)

2018-01-02 Thread Piotr Zarzycki
I really like doing things and moving forward. I see only one problem in case of website which has been raised - License. If you guys figure out whether problematic stuff is ok, we should export and public that website now. There is no point to wait, building new one using Royale can always happen

Release Branches and Releases

2018-01-02 Thread Alex Harui
Hi, Over the next day or so you will see release branches being created and commits being made to those branches and other branches by me. Do not make commits to these release branches. This is just practice for the automated scripts that will produce our release candidates. Hopefully I will be

Creating a Simple Site

2018-01-02 Thread Dave Fisher
Hi - For my own business I want to create a product and want to try Royale for the UX. I’ll have less than ten pages and want to start with three pages one of which will be a simple login.. I will have web services. I’ll need to have a file upload button. I want to serve the site through Apache

Re: Royale and Websites (was Re: About website actual work in progress)

2018-01-02 Thread Alex Harui
On 1/2/18, 9:48 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >Please explain what is ET-Line, I don't know what you refer with that. >The fonts used are from Google Fonts, so I think there's no problem at all >since is what 99% of the sites use today. >Colors as w

Re: [Royale] Collection work

2018-01-02 Thread Piotr Zarzycki
Hi Peter, Welcome after vacation! I sense all ideas when I'm working with that stuff. I think you will see the issue with indexes, even if it's not the case with removing from the list. I will wait for your review with that index refresh. Thank you so much! :) 2018-01-02 19:10 GMT+01:00 Peter E

Re: [Royale] Collection work

2018-01-02 Thread Peter Ent
Hi, Catching up and building stuff. I'm going to repeat some things for the befit of anyone joining Royale for 2018 (and to refresh my own thoughts coming off of holiday!). The initial idea of List and related classes was their beads were to be almost static. You'd have data that you would use to

Re: Royale and Websites (was Re: About website actual work in progress)

2018-01-02 Thread Dave Fisher
Hi - > On Jan 2, 2018, at 9:48 AM, Carlos Rovira wrote: > > For Adobe, to sell Royale, I think will be easy if we build a basic app > that looks pretty good. Adobe likes things done simple with good graphics. Royale is not an Adobe project. At Apache we are about software for the public good w

Re: Royale and Websites (was Re: About website actual work in progress)

2018-01-02 Thread Carlos Rovira
Hi Alex, Please explain what is ET-Line, I don't know what you refer with that. The fonts used are from Google Fonts, so I think there's no problem at all since is what 99% of the sites use today. Colors as well are impossible to be keep by a license, and I used what I thought was right to me. So

Re: Royale and Websites (was Re: About website actual work in progress)

2018-01-02 Thread Alex Harui
Yes, Happy New Year to one and all. I couldn't figure out what to snip, so I'm top-posting... I've been buried with compiler and build process work, so it has been months since I actually tried to build something from the very beginning. Maybe we can get some other folks to try to build something

Re: Compiling Royale Libraries with Flash Builder (SWF)

2018-01-02 Thread Alex Harui
In Project/Properties/Flex Build Path dialog, see which SWCs are being used. If your Royale SDK is/was a JS-Only one, you may be using the JS SWCs during SWF compilation. HTH, -Alex On 1/2/18, 12:42 AM, "Yishay Weiss" wrote: >I’m getting messages such as >1044: interface method applyImageData

Re: Happy New Year!

2018-01-02 Thread Carlos Rovira
Happy New Year Olaf! :)) 2018-01-02 10:33 GMT+01:00 Olaf Krueger : > I am pretty sure that this year will be ab exciting one for Royale! > Happy new year to all of you!!! > > Olaf > > > > -- > Sent from: http://apache-royale-development.20373.n8.nabble.com/ > -- Carlos Rovira http://about.me/

Re: Happy New Year!

2018-01-02 Thread Olaf Krueger
I am pretty sure that this year will be ab exciting one for Royale! Happy new year to all of you!!! Olaf -- Sent from: http://apache-royale-development.20373.n8.nabble.com/

Compiling Royale Libraries with Flash Builder (SWF)

2018-01-02 Thread Yishay Weiss
I’m getting messages such as 1044: interface method applyImageData in interface IImage not implemented by class BinaryImage When I look at IImage I see COMPILE::JS function applyImageData(binaryDataAsString:String):void; So it looks like the FB compiler ignores the fac