Why dont u just set the stylesheet to the label u want ??
my_label->setStyleSheet("font:Arial ; font-size: 12px");
Why dont u just set the stylesheet to the label u want ??
my_label->setStyleSheet("font:Arial ; font-size: 12px");
Hi All
Now the font is changed. I did like below
ui.m_label->setStyleSheet("QLabel#m_label1 {background-color: white;"
"color : black; border: 2px solid black;"
"font:Arial ; font-size: 20px}");
But the problem is that two images are coming. one in default font and another in Arial font. So the text is not visible properly. What ll i do to solve this?
Cheers,
Phillip
--- Please post the solution you got to solve your problem. It may help others.
Bookmarks