Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.5.1
-
None
Description
At the moment Qt Stylesheets have an "all or nothing" approach with some styles (for example on Mac), as setting some attributes will change the look dramatically from the native style.
It is possible to selectively revert some of these attributes to default to get the native style back, for example:
QPushButton
{ color: blue ; border-width: 1px; border-color: red; border-style: solid; background-color: red; }
can be reset with :
QGroupBox QPushButton
But it would be nice if all attributes could be reset somehow, perhaps with a "reset" or "default" value?
Setting attributes such as
padding, margin, font-size and font-family cannot currently be reset to native style.