mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
electron-related tweaking and minor fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
45a3b937be
commit
a3f5579faa
@ -30,17 +30,22 @@ var win
|
|||||||
function createWindow() {
|
function createWindow() {
|
||||||
// Create the browser window.
|
// Create the browser window.
|
||||||
win = new BrowserWindow({
|
win = new BrowserWindow({
|
||||||
// XXX get from config...
|
// let the window to get ready before we show it to the user...
|
||||||
|
show: false,
|
||||||
|
|
||||||
|
// XXX get from config... (???)
|
||||||
|
//backgroundColor: XXX,
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 600,
|
height: 600,
|
||||||
|
|
||||||
fullscreenable: true,
|
fullscreenable: true,
|
||||||
//backgroundColor: XXX,
|
|
||||||
|
|
||||||
// XXX remove...
|
//autoHideMenuBar: true,
|
||||||
autoHideMenuBar: true,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// disable default menu...
|
||||||
|
win.setMenu(null)
|
||||||
|
|
||||||
// and load the index.html of the app.
|
// and load the index.html of the app.
|
||||||
win.loadURL(url.format({
|
win.loadURL(url.format({
|
||||||
// XXX unify this with index.html
|
// XXX unify this with index.html
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user