Skip to content

Commit 5f9f30b

Browse files
committed
minor fix to remove a hack used when flexlayout was incorrectly implemented before.
1 parent c43fc15 commit 5f9f30b

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nodegui/react-nodegui",
3-
"version": "0.2.3",
3+
"version": "0.2.4",
44
"description": "React Native for building cross platform desktop applications",
55
"main": "dist/index.js",
66
"typings": "dist/index.d.ts",

src/components/Window/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ 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%';");
2423
window.setCentralWidget(rootView);
2524
window.setProps(newProps, {});
2625
return window;

0 commit comments

Comments
 (0)