Changing text colour of QLineEdit qss file
Hi All.
I need u guys help.
I've a Line edit. whose background color is black. I need the the text color to be white, when i'll write some thing. I need to change through qss file. Here is the code of my qss file.
QLineEdit
{
background-color: Black;
border: 1px solid black;
}
Can any body plz tell me what to add.
Advancely Thanx 4 Help.
Re: Changing text colour of QLineEdit qss file
Cant you use color:your_color in the Stylesheet ??
like
Quote:
QLineEdit
{
color : red;
background-color: Black;
border: 1px solid black;
}
:confused:
Re: Changing text colour of QLineEdit qss file
Quote:
Originally Posted by
aamer4yu
Cant you use color:your_color in the Stylesheet ??
like
:confused:
Thank you very much. Its working now.:)