Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QSS Styling Tip HELP!!!
zeethree50 last edited by
I know how to put a border around a QWidget in a QSS Stylesheet but it puts a border around every children inside of it. However, I'm having trouble putting a border for QFormLayout. I've been searching but no luck.
It's super easy to style QLabels and QLine Edits, etc. But how do it for a layout?
Hi and welcome to devnet,
AFAIK, You can't, layouts have no visual appearances.
What exactly are you trying to achieve ?
If you don't want the children widgets to be modified, you have to limit precisely the scope of your QSS.