QML only display Close Windows hint
-
Hey,
I'm trying to hide the minimize and and maximize buttons from the title bar and came across the window hint flags CustomizeWindowHint , WindowMinMaxButtonsHint and WindowCloseButtonHint
hiding all of them works fine in qml:flags: Qt.WindowTitleHint
but trying to only display the close button doesn't work somehow with the custom flag:
flags: Qt.CustomizeWindowHint | Qt.WindowCloseButtonHint
can anyone help?
-
Hey,
I'm trying to hide the minimize and and maximize buttons from the title bar and came across the window hint flags CustomizeWindowHint , WindowMinMaxButtonsHint and WindowCloseButtonHint
hiding all of them works fine in qml:flags: Qt.WindowTitleHint
but trying to only display the close button doesn't work somehow with the custom flag:
flags: Qt.CustomizeWindowHint | Qt.WindowCloseButtonHint
can anyone help?
-
Have you tried this ?
flags: Qt.CustomizeWindowHint | Qt.WindowTitleHint | Qt.WindowCloseButtonHint
It works on mac.
-
Have you tried this ?
flags: Qt.CustomizeWindowHint | Qt.WindowTitleHint | Qt.WindowCloseButtonHint
It works on mac.
@GrecKo said in QML only display Close Windows hint:
Qt.CustomizeWindowHint | Qt.WindowTitleHint | Qt.WindowCloseButtonHint
yeah, it displays only the title bar without any buttons on Win10, so maybe qt doesn't support this for windows, or windows doens't support this in general.
-
This post is deleted!