PDA

View Full Version : showMaximize() covers the task bar on a frameless window.



greg
14th April 2010, 22:26
I'm building an application that has its own custom chrome. I have turned the default window border off by setting the flag:


this->setWindowFlags(Qt::FramelessWindowHint);

After this flag is set and the default window border is turned off, any calls to:


this->showMaximized();

result in a window that takes up the entire screen, overlapping the task bar. Is there a common work around for this or another method I should be calling instead of showMaximized()?

Thanks.

Win7/Qt4.6