Air - window resize by + button - apache-flex

When running air application and clicking the windows resize button (+ on a mac) , how is the new size determined? can that be controlled somehow?
Thanks

You can try listenting to resizing event or displayStateChange event and then set your own sizes.
You can also play with maximizible property of NativeWindow(it can't be changed after window is created, however, you can define it initially).

Related

Nonexclusive Borderless Fullscreen with QML

I need a fullscreen window in QML. However, it must not be exclusive fullscreen. My application must work with accessible applications such as Windows On-screen Keyboard and Magnifier. If my application runs in exclusive fullscreen, it will stay on top of other accessible applications making them useless.
With QWidget, I can call showFullscreen() and get what I needed (a window that cover the entire screen while letting other accessible applications stay on top of it.
With QML, there are a few few ways to make the window fullscreen. However, all of the methods I've tried result in exclusive fullscreen.
I've tried all answers suggested here. To summarize I've tried setting visibility: "FullScreen". I've tried manually setting the width and height to match the screen resolution.

JavaFX Scene Builder - Preview stays in fullscreen mode

I've encountered what might be a bug, but I do want to ensure there isn't a setting I missed somewhere...
I'm using JavaFX Scene Builder (this has the same behavior in Gluon Scene Builder), on macOS X High Sierra.
The Scene Builder application is operating in fullscreen mode, and when I press cmd+P to launch a preview window for the FXML project loaded, it opens normally, like so:
But if I put the preview into fullscreen (fills the screen space, not in fullscreen mode like scene builder app) by pressing the green plus at the top left, and then close it (or shrink back to normal size and then close), it reopens back in fullscreen.
My informal solution is to shrink the fullscreen window to normal size, then minimize the window (which also makes the screen black), then reopen the preview and then close it. That makes it open at normal size again.
My question is whether or not this is a bug. Is there a more simple solution or is this even the intended behavior?
Thanks.

Adobe Air - restore a window that is maximized at start - restore size is larger?

Basically what is happening is:
Window is closed when Maximized (of type AIRWindow.as which extends Window.as)
When reopened, this window is in Maximized state, and Air has no record of a restore window size at this point.
Click the Restore button - AIRWindow.restore() calls Window.nativeWindow.restore()
AIR resizes the window, but makes it basically the same size or slightly larger than Maximized state
We don't have access to NativeWindow file, or the restore() function, so I'm not sure how to affect the default resizing of the maximized window to a restored state?
Any ideas?
Note: NativeWindow is part of the airglobal.swc package
Are you able to set the initial window size when you create it?
When I create classes derived from NativeWindow I set the x,y,width and height properties prior to calling activate(). This size is then used as the basis for restore operations if you subsequently maximize/minimize.
You could create the window at a specific size and then immediately maximize it on load if you initially want it maximized.

How to fit Qt application in phone window?

How to fit Qt application in phone window? When app is being designed it fixes the size of controls like combobox, calendar etc. When I run in emulator they are squeezed but, I want them to resize n fit in window as per the size of window.
Try using showFullScreen instead of show.

Is it possible to remain in fullscreen mode with another window having focus?

I have a flash panorama that has hotspot links to pop-up windows that contain more information about the object. Right now if you are in fullscreen mode and click a hotspot you are automatically kicked out of fullscreen mode and the pop-up then opens. Is it possible to have the pop-up open and have focus while in the background the panorama is still in fullscreen mode? If so any tips on how to achieve this would be much appreciated.
The answer is NO, somehow it makes sense otherwise why would it be fullscreen if you could overlap it with pop-ups? The fullscreen is made to focus only on one window. If you want to have more information coming up, why not doing them inside your SWF ?
No but what you can do is make the form the same size as your resolution and hide taskbar and frame.

Resources