expand window in tetris example

This commit is contained in:
dayllenger 2017-10-14 19:28:33 +03:00
parent 2c6da55e63
commit fdbd7254ee
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ extern (C) int UIAppMain(string[] args) {
//SCREEN_DPI = 150;
// 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();