summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qwindowsxpstyle.cpp
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@theqtcompany.com>2016-03-29 14:42:39 +0200
committerTopi Reiniƶ <topi.reinio@theqtcompany.com>2016-04-05 07:20:11 +0000
commit0e088bd22cb5b8565cae76592dbbe354de1b4f0d (patch)
tree951fe09f0631b10a9c4fcffe7a7044cce2d1ef5e /src/widgets/styles/qwindowsxpstyle.cpp
parent8c3e671239c83238fc036f8a94dde04920c43871 (diff)
Doc: Simple offline CSS: Remove font-size declarations
Remove the font-size declarations from the CSS, rely on the default sizes for each element. This solves two issues: - The user-configured font size (both in Assistant and Qt Creator Help) is correctly taken into use. Previously, adjusting the font size resulted in resizing fonts only for some of the text elements. - QTextBrowser backend seems to assume a DPI of 96 for all platforms, and font-sizes in 'pt' units are scaled accordingly. However, on OS X this resulted in font sizes too small to read. Change-Id: Iaab3ad07e387912ad7391df982d4bfe7047f0b20 Task-number: QTBUG-51709 Task-number: QTBUG-51885 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Diffstat (limited to 'src/widgets/styles/qwindowsxpstyle.cpp')
0 files changed, 0 insertions, 0 deletions