LibGDX / LWJGL start application maximized

廉价感情. 提交于 2019-12-12 11:35:05

问题


cfg.fullscreen=true;

makes it totally fullscreen.

cfg.width = Gdx.graphics.getWidth();
cfg.height = Gdx.graphics.getHeight();

makes it so the size is the screen size but it is still not maximized(I can hit the little box on the top right to make it snuggly locked into the screen. I just realized this was a nuisance after I launched my program several times and had to keep maximizing it.

Is there a simple way to... cfg.startMaximized=true?

来源:https://stackoverflow.com/questions/23029588/libgdx-lwjgl-start-application-maximized

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!