Jorgen-VikingGod / Qt-Frameless-Window-DarkStyle

simple MainWindow class implementation with frameless window and custom dark style. It adds also support for titlebar and buttons (minimize, maximize, close)
1.14k stars 272 forks source link

border can't resize when framelesswindows in a parent widget. #56

Open Charist opened 1 year ago

Charist commented 1 year ago

when the framelesswindows is used in a parent widget. in a MainWindow.cpp , the MainWindow construction funcition like:

    QWidget* m_widget1 = new FramelessWindow(this);
    m_widget1->resize(200, 200);
    m_widget1->show();

the framelesswindows can't reszie anymore.

Charist commented 1 year ago

to fix the bug. I have a pull request. https://github.com/Jorgen-VikingGod/Qt-Frameless-Window-DarkStyle/pull/59