Window control buttons disappears when implementing w.showFullScreen();
-
wrote on 16 Aug 2023, 19:53 last edited by
-
Hi,
Which OS are you on ?
-
!
The Main Window
Window control buttons in the top right corner disappears when applying w.showFullScreen() instead of w.show().
How can I have the window control buttons and still be in full screen mode by default?
@amitsgh said in Window control buttons disappears when implementing w.showFullScreen();:
Window control buttons in the top right corner disappears when applying w.showFullScreen()
This is actually exactly what full-screen usually means, also on Windows: there are no window decorations and no buttons to close the window or to minimize it. If you want the window to occupy the full screen but keep window decorations and these buttons then show the window maximised (setWindowState(Qt.WindowMaximized)).
-
@amitsgh said in Window control buttons disappears when implementing w.showFullScreen();:
Window control buttons in the top right corner disappears when applying w.showFullScreen()
This is actually exactly what full-screen usually means, also on Windows: there are no window decorations and no buttons to close the window or to minimize it. If you want the window to occupy the full screen but keep window decorations and these buttons then show the window maximised (setWindowState(Qt.WindowMaximized)).
-
5/5