fstl-app / fstl

A fast STL file viewer
463 stars 106 forks source link

Maximize window on startup #53

Closed gmlewis closed 2 years ago

gmlewis commented 4 years ago

The very first thing I always do after running fstl is to maximize the window.

In window.cpp, immediately after the opening curly brace on line 17 (before the call to setWindowTitle("fstl");), I added this:

    setWindowState(Qt::WindowMaximized);

and now it behaves like I want. Since this is such a simple change, I didn't write a PR. Feel free to close if you don't think this is useful, but I really like it.

Thank you for fstl!!!

DeveloperPaul123 commented 3 years ago

Perhaps this can be an option in the fstl toolbar. My take on this is that while you may prefer for it to start up maximized, other users will not.