Qt widget goes behind the system OS taskbar. How to keep it above?
-
Hi,
I've an issue that my application window goes behind the taskbar of my PC. I use win 8. same issue i found when i use in an android device also.
The same issue is found to be discussed in a link "screen-area":http://www.fiveminutes.eu/qt-dev-screen-area/
I tried the same.. but it is visible to user that the widget resize after show. Is there a better way to resolve this?
-
There's a window flag for that:
@
widget->setWindowFlags(widget->windowFlags() | Qt::WindowStaysOnTopHint);
@ -
Thank Chris Kawa. But this solution doesn't work for me..
I my case I have a main window and child windows. One of the child windows has this size issue. Once I show that child window, it goes out of screen. Also the main window re sizes and goes out of screen.