Closed NightMachinery closed 3 years ago
@NightMachinary Hello! I guess you are you using the automatic hiding of the menu bar? I tried this out and you should be able to do this. Remember that the coordinate system is bottom-left focused (origo), growing as you go. Try Window#maximise()
instead (https://github.com/kasper/phoenix/blob/2.6.7/docs/API.md#22-window). Let me know if this helps.
@NightMachinary Weirdly, things just worked using my previous code, without using maximise
. I don't know what was the problem.
PS: Does Phoenix store logs somewhere? I like to see the reasons my config has failed to load ...
Thanks!
@NightMachinary Great! Yes, check https://github.com/kasper/phoenix/blob/2.6.7/docs/API.md#logging-and-debugging.
I am using the code from https://github.com/lukesmurray/bootstrap/blob/master/.phoenix.js to turn some apps into "hotkey popup windows." This works well except that the app's position is always below the menubar:
I tried using negative numbers for
But it did not work.
mainWindow.setFullScreen(true);
is useless as I want the app to open on top of my existing apps, not in its own space.