开发者

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜