View Full Version : QWebView - Problems with line spacing

8th October 2009, 00:05
This problem is reproducible using examples/webkit/previewer/.

My problem is controlling the line spacing in my application using this class. I created a previewer binary and copied it to three different Linux systems. Each system displayed different text inside webView with different line spacing. Machine A showed it with line spacing of 1.0, machine B had 1.5 spacing, machine C had 2.0 spacing.

I tried to use qtconfig, but it only effected the QPlainTextEdit fonts, menubar, groupbox labels. It had no effect on QWebView widget.

I removed my ~/.config directory, but had no effect.

I tried QWebSettings's setFontFamily and setFontSize methods. It changed the font and size, but not the spacing.