Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layouts Break Window Load #38

Open
BellaMay95 opened this issue Jun 16, 2017 · 0 comments
Open

Layouts Break Window Load #38

BellaMay95 opened this issue Jun 16, 2017 · 0 comments

Comments

@BellaMay95
Copy link

BellaMay95 commented Jun 16, 2017

I tried to implement a layout for one of my windows, but when I try to open the window with a layout it fails with the "unable to load application interface" error.

I initialize the layout in my main process with:
windowManager.init({ ..... layouts: { default: 'layout.html' } });

and when I open the window I open it with:
var win2 = windowManager.open(false, appName, url, false, { frame: false, show: false, useContentSize: true, webPreferences: { preload: preload }, layout: 'default' }); ..... win2.object.show();

It doesn't matter what I put in the layout.html file, I have tried just pasting what is in the README.md example and it doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant