Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QFrame, focus, border
-
hi,
Is it possible to use QFrame:focus?
i want this
QFrame:focus{
background-color: rgb(207, 207, 207);
border: solid rgb(166, 255, 238);
border-width: 2px;
}but it doesn't work...
Clicking does not respond anything
-
Hi
Sure it is.
But you must set its focus policy to clickFocus.
Default is Nofocus and so it wont get focus.
It works if you change it. just tested.
-
This post is deleted!
-