How/Can I change color of a frame in QLineEdit? What I've tried is this:
lineEdit->setStyleSheet("border: red");
and
lineEdit->setStyleSheet("border-color: red");
but it doesn't work.
lineEdit->setStyleSheet("border: 1px solid red");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With