Remove pixel value from fonts
This commit is contained in:
parent
d1e08e0008
commit
9038c950ae
29 changed files with 77 additions and 108 deletions
|
|
@ -76,7 +76,7 @@ TextField::setLabelFontSize(qreal size)
|
|||
|
||||
if (label_) {
|
||||
QFont font(label_->font());
|
||||
font.setPixelSize(size);
|
||||
font.setPointSizeF(size);
|
||||
label_->setFont(font);
|
||||
label_->update();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue