Global configuration option to change default window dimensions
josephjeno opened this issue · comments
josephjeno commented
Anders Evenrud commented
I'll look into this after I've had my dinner :)
Anders Evenrud commented
I've published a new version that supports adding the following to global config (src/client/config.js
):
{
filemanager: {
defaultWindowSize: {width: 800, height: 600}
}
}
Tip: Window dimensions supports percentages:
{
filemanager: {
defaultWindowSize: {width: 0.5, height: 0.5} // 50% of viewport
}
}
I found a bug in this though. Using 100% (1.0) does not work, but anything below that is OK
josephjeno commented
Thanks so much man, this works great of course.