Skip to content
Snippets Groups Projects
Commit de07a10c authored by akiraohgaki's avatar akiraohgaki
Browse files

offset

parent f0606c71
No related tags found
1 merge request!1WIP: Feature/browserview
......@@ -141,13 +141,13 @@ function createView() {
mainWindow.setBrowserView(mainView);
const toolbarHeight = 40;
const offsetY = 440;
const windowBounds = mainWindow.getBounds();
mainView.setBounds({
x: 0,
y: toolbarHeight,
y: offsetY,
width: windowBounds.width,
height: windowBounds.height - toolbarHeight
height: windowBounds.height - offsetY
});
mainView.setAutoResize({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment