TrueFramelessWindow
TrueFramelessWindow copied to clipboard
MacOs Maximize issue
Hello,
When I switch the app on full screen and then switch back to the normal size, the title bar is not hidden anymore.
Thanks
in widget.h add changeEvent to public slots
public slots:
virtual void changeEvent(QEvent * event)
in widget.cpp add follow code:
void Widget::changeEvent( QEvent* e )
{
#ifdef __APPLE__
OSXHideTitleBar::HideTitleBar(winId());
#endif
}
hide title bar whatever event happend
I'm having an issue where when I add a QTabBar widget to a window, the native system title bar appears again, how can I fix it?
in widget.h add changeEvent to public slots
public slots: virtual void changeEvent(QEvent * event)in widget.cpp add follow code:
void Widget::changeEvent( QEvent* e ) { #ifdef __APPLE__ OSXHideTitleBar::HideTitleBar(winId()); #endif }hide title bar whatever event happend