mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-17 07:39:58 +00:00
add workaround for #34 to AW
This commit is contained in:
@ -662,7 +662,7 @@ void AwesomeWidget::configChanged()
|
||||
fontStyle = QString("italic");
|
||||
else
|
||||
fontStyle = QString("normal");
|
||||
formatLine[0] = QString("<html><head><style type=\"text/css\">p, li { white-space: pre-wrap; }</style>\
|
||||
formatLine[0] = QString("<html><head><style type=\"text/css\">body { white-space: pre-wrap; }</style>\
|
||||
</head><body style=\"font-family:'%1'; font-size:%2pt; font-weight:%3; font-style:%4; color:%5;\">")
|
||||
.arg(font.family())
|
||||
.arg(font.pointSize())
|
||||
|
Reference in New Issue
Block a user