[Differential] [Commented On] D2902: [kdevplatform] font settings for the documentation view

antonanikin (Anton Anikin) noreply at phabricator.kde.org
Tue Oct 4 11:23:42 UTC 2016


antonanikin added inline comments.

INLINE COMMENTS

> apol wrote in standarddocumentationview.cpp:46
> why `+ 4`?
> Also just now I realize that they don't use QFont there...

`+4` is "heuristic" value, ensure that the HTML-font size be close to system font size. If we pass original size to `QWebView` the resulting font size will be too small.

REPOSITORY
  rKDEVPLATFORM KDevPlatform

REVISION DETAIL
  https://phabricator.kde.org/D2902

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: antonanikin, #kdevelop
Cc: brauch, cordlandwehr, apol, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20161004/fb59b2aa/attachment.html>


More information about the KDevelop-devel mailing list