Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.12.4
-
None
-
Fedora 29
-
-
ae10084ef9d9db5f32cc9d42ab7e485d0a896d78 (qt/qtbase/dev)
Description
QFont::setStretch is ignored and has no effect following any call to QFont::setStyleString.
Eg..
QLabel *l = new QLabel(); QFont f; f.setFamily( "Serif" ); f.setStyleName( "Bold" ); f.setStretch( 400 ); l->setFont( f ); l->setText( "test" ); l->show();
Will ignore the stretch setting, while commenting out the "setStyleName" call will correctly show the stretched text.
Attachments
For Gerrit Dashboard: QTBUG-77854 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
373727,2 | Respect font stretch if set together with font style | dev | qt/qtbase | Status: MERGED | +2 | 0 |