Commit de07a10c authored by akiraohgaki's avatar akiraohgaki

offset

parent f0606c71
......@@ -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({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment