mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-30 20:36:36 -05:00
Fix Replace all px font-size: to pt for HiDPI monitors
This commit is contained in:
parent
21e775d116
commit
e39a77a445
8 changed files with 46 additions and 46 deletions
|
|
@ -1523,7 +1523,7 @@ void ChatWidget::chooseFont()
|
|||
text += " font-family:" + font.family() + ";";
|
||||
text += font.bold() ? " font-weight: bold;" : "";
|
||||
text += font.italic() ? " font-style: italic;" : "";
|
||||
text += " font-size:" + QString::number(font.pointSize()) + "px;";
|
||||
text += " font-size:" + QString::number(font.pointSize()) + "pt;";
|
||||
text += font.strikeOut() ? " text-decoration: line-through;" : "";
|
||||
text += font.underline() ? " text-decoration: underline;" : "";
|
||||
text += "\">" + cursor.selectedText().toHtmlEscaped() + "</p>";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue