From 02a0552c329583aa1d4da17efd5347d191f87d3b Mon Sep 17 00:00:00 2001 From: Atul R Date: Mon, 10 Jun 2019 08:11:52 +0200 Subject: [PATCH] set default size --- examples/calculator/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/calculator/index.ts b/examples/calculator/index.ts index 94a879cb2..af057a3d7 100644 --- a/examples/calculator/index.ts +++ b/examples/calculator/index.ts @@ -140,6 +140,6 @@ rootViewFlexLayout.addWidget(row4, row4.getFlexNode()); win.show(); setTimeout(() => { - win.resize(400, 600); // This is a hack to solve layout issues on initial render. Will need to fix this. + win.resize(210, 150); // This is a hack to solve layout issues on initial render. Will need to fix this. }, 10); globals.win = win; //to keep gc from collecting ui widgets