Re: Images in RichText-Control

2018-01-12 Thread chris_flex
Is there any way to set/remove this huge space above the image in some way? I still haven't found a solution for this but as images are allowed in the RichText there must/should be some more or less trivial solution or am I wrong... -- Sent from: http://apache-flex-users.246.n4.nabble.co

Re: Retiring Apache FlexJS section from Flex wiki

2018-01-12 Thread Tom Chiverton
This has been done. On 09/01/18 09:41, Tom Chiverton wrote: This seems a good compromise ? Tom On 09/01/18 06:47, Olaf Krueger wrote: Maybe you could move (and rename) the FlexJS root page one level down and insert a new root FlexJS root page that contains the link to the Royale Wiki?

Re: Images in RichText-Control

2018-01-12 Thread Alex Harui
What does the the converter produce? I'm wondering if it is seeing line-breaks and stuff like that. -Alex On 1/12/18, 4:58 AM, "chris_flex" wrote: >Is there any way to set/remove this huge space above the image in some >way? I >still haven't found a solution for this but as images are allowed

Re: Images in RichText-Control

2018-01-12 Thread chris_flex
Hi Alex, what exactly do mean... the elements it produces? I also found out the following: The size of the gap/space depends on the height of the imave. This text from the resource file: produces this And an other strage thi

Re: Images in RichText-Control

2018-01-12 Thread Alex Harui
Hi Chris, It looked like you were sending HTML through one of the converters. IIRC, that produces a TextFlow, and RichText/TLF renders the TextFlow, not HTML. So if the converter added extra whitespace in the TextFlow, that would be a problem in the converter. If a known simple TextFlow doesn't

Re: Images in RichText-Control

2018-01-12 Thread chris_flex
Hi Alex, this solves the problem... the problem is the default lineHeight of 120%... But is this the way to go? -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Button in ItemRenderer on Android

2018-01-12 Thread bilbosax
Interesting quirk in Android that I can't figure out. I have an itemRenderer in a mobile AIR project that contains a button called "viewButton". On iOS, when this button is clicked, two things happen 1) The itemRender enters its "selected" state and causes an overlay to appear over the entire rend

Re: Button in ItemRenderer on Android

2018-01-12 Thread Erik J. Thomas
Try adding an includeInLayout property in overlayRect. The way you have it, the overlay is there, just not visible and on Android it may be "eating" the tap event. Erik Erik Thomas Chief Architect Office: 541.247.2995 / Mobile: 303.304.1466 http://linqto.com This email

Re: Button in ItemRenderer on Android

2018-01-12 Thread bilbosax
Great suggestion Erik! Tried it, but no luck. I have tried removing the overlayRect entirely also - no luck. I have tried changing the z-index of the button - no luck. I have tried removing States since the state changes when the itemRenderer is clicked, thinking that the state change might be eat

JSON referencing MongoDB ObjectID

2018-01-12 Thread Tucsonjhall
I'm working with a company that uses MongoDB and their specs for push JSON to their endpoint includes an ObjectId("3023493820") whatever. I've done some Googling put I'm still not sure how I would work in that mongo class object using JSON.stringify. Any suggestions? -- Sent from: http://apache-

Re: Button in ItemRenderer on Android

2018-01-12 Thread bilbosax
In addition, I have removed all the states and components from the itemrenderer except for the button, so now it is just an itemRenderer with a viewButton, and even that didn't help. So now, I feel like it either has to be a setting in my actual list, I have something configured wrong for Android,

Re: Button in ItemRenderer on Android

2018-01-12 Thread bilbosax
So I found the problem. I have been working on this project so long, I had forgotten that I created a custom List based on a suggestion I found on the internet. With the List, for some reason, there is a single-frame white flash that happens the first time that you touch it. It is all over the f

Re: Images in RichText-Control

2018-01-12 Thread Alex Harui
Hi Chris, I don't know that part of TLF to give an educated answer. Maybe Harbs or someone else knows better. I looked up CSS line-height and it seemed to say that Firefox is using 120%. Did you verify that the space really is due to the correct calculation of 120%? Maybe it is actually result