View Full Version : QLabel Font size is not changing???
Gokulnathvc
22nd March 2011, 05:59
QLabel Font is not changing??? both in design and code mode.. Please help me...
ChrisW67
22nd March 2011, 07:08
Sorry, my crystal ball is out for servicing today.
What have you tried? What did it do? What were you expecting it to do?
BalaQT
22nd March 2011, 07:56
hi, hav u tried the following?
QFont font;
font.setFamily(QString::fromUtf8("DejaVu Sans"));
font.setPointSize(11);
font.setBold(true);
font.setWeight(75);
label->setFont(font);
hope it helps,
Bala
pradeeps
22nd March 2011, 10:45
Try
lable->setStyleSheet("font-size: 15px;");
Gokulnathvc
22nd March 2011, 11:17
font.setPointSize(11);
works fine.. Thank YOU
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.