Closed ysx1993 closed 6 years ago
this is really strange, because I do this already in FramelessWindow::styleWindow
I felt strange at the time, but when I don't add the setMargin function, the maximized window will have a 15px margin (if it is out of focus, it will fill the screen again)
Bug...
Solution...
can you push a pull request with your changes?
Hi Jorgen! I have pushed my pull request to you, you can check it!
I have fixed this bug by call setMargin(15) in on_restoreButton_clicked function and setMargin(0) in on_maximizeButton_clicked function.
.