slapin
Hi, all!
I have a GUI written in AS. I want to display in window, I can use -w option of player for that.
But I want to scale the window size using window manager, but I’m not allowed to. Any ideas?
Hi, all!
I have a GUI written in AS. I want to display in window, I can use -w option of player for that.
But I want to scale the window size using window manager, but I’m not allowed to. Any ideas?
The simplest way is to check the size of the window each frame (‘graphics.width’ and ‘graphics.height’ in AS), and, if it was changed, resize your user interface.
Also you can use UIElement
's anchors.