How to make UI layout not scale when window is resized
I am working in a player and when am trying to make it fullscreen the scrubber and volum开发者_如何学JAVAe bar everything become too big in size.
How can I make it normal?
You need to set the scaleMode of your movie and align it to the top-left.
stage.displayState = StageDisplayState.FULL_SCREEN;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
精彩评论