[Interest] QTableWidgetItem different behaviour on Windows

Lucas.Betschart at crypto.ch Lucas.Betschart at crypto.ch
Thu May 23 10:16:36 CEST 2013


Hi

If got a QTableWidgetItem which I fill with text that includes newlines.
Example text:
"aaaaa
bbbbb
ccccc"

On Linux (Qt 4.7.2) it behaves like I want to: it replaces the newlines with blanks and shows the first 2 text-rows ("aaaaa bbbbb").
On Windows (Qt 4.8.0) the newlines get delete but not replaced with blanks ("aaaaabbbbb").

How can I change the behavior on Windows?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130523/cf77e857/attachment.html>


More information about the Interest mailing list