mirror of https://github.com/buggins/dlangui.git
expand window in tetris example
This commit is contained in:
parent
2c6da55e63
commit
fdbd7254ee
|
|
@ -36,7 +36,7 @@ extern (C) int UIAppMain(string[] args) {
|
||||||
//SCREEN_DPI = 150;
|
//SCREEN_DPI = 150;
|
||||||
|
|
||||||
// create window
|
// create window
|
||||||
Window window = Platform.instance.createWindow("DLangUI: Tetris game example"d, null, WindowFlag.Modal, 600, 400);
|
Window window = Platform.instance.createWindow("DLangUI: Tetris game example"d, null, WindowFlag.Modal | WindowFlag.ExpandSize, 600, 400);
|
||||||
|
|
||||||
window.mainWidget = new GameWidget();
|
window.mainWidget = new GameWidget();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue