Remove pixel value from fonts
This commit is contained in:
parent
d1e08e0008
commit
9038c950ae
29 changed files with 77 additions and 108 deletions
|
|
@ -218,7 +218,7 @@ FlatButton::setFontSize(qreal size)
|
|||
font_size_ = size;
|
||||
|
||||
QFont f(font());
|
||||
f.setPixelSize(size);
|
||||
f.setPointSizeF(size);
|
||||
setFont(f);
|
||||
|
||||
update();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue