Re: Button skins like this?

2017-06-06 Thread Nemi
Create your own? For that from image, it would be something like: ...color="gray" use if you need it, for example with Gradient: More info here FXG and MXML g

Re: Modal background is not centered if modal is shown while minimized

2017-06-06 Thread Kyle McKnight
Perfect, thanks! On Jun 6, 2017 1:52 PM, "Nemi" wrote: > Great that I helped. No need to delve into SDK source. > > I found the bug: https://issues.apache.org/jira/browse/FLEX-16946 > > Some notes: > More performant way to move popups is popupitem.move(x,y) > > To get background FlexSprite, I us

Re: Modal background is not centered if modal is shown while minimized

2017-06-06 Thread Nemi
Great that I helped. No need to delve into SDK source. I found the bug: https://issues.apache.org/jira/browse/FLEX-16946 Some notes: More performant way to move popups is popupitem.move(x,y) To get background FlexSprite, I used: bgsprite = systemManager.getChildAt(popupsitemIndex - 1) then chec

Re: DataGrid dataProvider is not getting data reliably

2017-06-06 Thread Nemi
In your code if one is setting dataProver to null, there wont happen anything? Maybe you are missing "else..." after "if (value)..." -- View this message in context: http://apache-flex-users.246.n4.nabble.com/DataGrid-dataProvider-is-not-getting-data-reliably-tp15283p15290.html Sent from

Re: Modal background is not centered if modal is shown while minimized

2017-06-06 Thread Kyle McKnight
Great! This is what I suspected but wanted to ask before I delved into the SDK source to solve it. Thanks for the suggestion! On Jun 6, 2017 1:26 PM, "Nemi" wrote: > I had that issue too. That is a bug. I think its reported, but don't recall > the issue ID. Problem could be that PopUpManager so

Re: Optimize speed on Android

2017-06-06 Thread Nemi
Can you find out, what or where it makes huge difference precisely? Maybe using Scout. -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Optimize-speed-on-Android-tp15284p15289.html Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Modal background is not centered if modal is shown while minimized

2017-06-06 Thread Nemi
I had that issue too. That is a bug. I think its reported, but don't recall the issue ID. Problem could be that PopUpManager somewhere reads nativeWindow/window/parent size, and if nativeWindow is minimized, size is 0,0 so there bug happens. Try this workaround/fix: 1. listen window's native disp

Re: Modal background is not centered if modal is shown while minimized

2017-06-06 Thread kamcknig
-- View this message in context: http://apache-flex-users.246.n4.nabble.com/Modal-background-is-not-centered-if-modal-is-shown-while-minimized-tp15286p15287.html Sent from the Apache Flex

Modal background is not centered if modal is shown while minimized

2017-06-06 Thread Kyle McKnight
I'm using Flex 4.15, AIR 20.0. I have an idle timer on my app that logs a user out after a certain amount of time. If I start my app and then minimize it immediately and wait for the idle time to pass so that the modal is shown while it's minimized and then restore the window, the modal background