Skip to content

Commit 5625039

Browse files
committed
Adds default inline style to inside view
1 parent 729313a commit 5625039

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/Window/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class WindowConfig extends ComponentConfig {
2020
const rootViewLayout = new FlexLayout();
2121
rootViewLayout.setFlexNode(rootView.getFlexNode());
2222
rootView.setLayout(rootViewLayout);
23+
rootView.setInlineStyle("width:'100%'; height:'100%';");
2324
window.setCentralWidget(rootView);
2425
window.setProps(newProps, {});
2526
return window;

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"esModuleInterop": true,
1212
"resolveJsonModule": true
1313
},
14-
"include": ["src"],
14+
"include": ["./src/**/*"],
1515
"exclude": ["dist"],
1616
"typedocOptions": {
1717
"mode": "file",

0 commit comments

Comments
 (0)