Solved Colours in Qt
-
In Style sheet i found the names of colour set directly by saying solid red, groove gray etc. for borders, so here i need the list of colours that are available which may help a lot.
-
@Vineela
https://doc.qt.io/qt-5/qml-color.html#svg-color-referenceIt's for QML, but it should be the same supported color names by QStyleSheet
-
Stylesheets use QColor, so take a look at QColor predefined values. It's basically the SVG colors set.
You can also use any other color with the standard CSS syntax. -
I'm impressed @J-Hilk @Chris-Kawa thnk u sooo much saved my day.
-
border: 2px darkred;
this is used for button style sheet, not working -
@Vineela
Hi
Try
border: 1px solid darkred -
@mrjj so u say use solid everytime?
-
@Vineela
You can also use other styles than solid but
yes, you should specify that parameter.