tarod
20th August 2015, 02:19
I've just found the next strange issue working with style sheets.
Using the following code, the text color is changed to red in QLineEdit but not in QTextEdit when the focus is got. In both cases, the background is OK. Does anyone know the reason why?
QTextEdit:focus {
color: red;
background-color: grey;
}
QLineEdit:focus {
color: red;
background-color: grey;
}
Using the following code, the text color is changed to red in QLineEdit but not in QTextEdit when the focus is got. In both cases, the background is OK. Does anyone know the reason why?
QTextEdit:focus {
color: red;
background-color: grey;
}
QLineEdit:focus {
color: red;
background-color: grey;
}