summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_gui_kernel_qevent.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-08-09 08:31:16 (GMT)
committerJesper Thomschutz <jesper.thomschutz@nokia.com>2010-08-12 08:20:47 (GMT)
commit1d4e8c0a4c0fc41267907c8b1e41bb0b568706cf (patch)
treeee3d992a559c00220088dd6e9479cc1c225016ef /doc/src/snippets/code/src_gui_kernel_qevent.cpp
parentff18bf04c49c261626a3f73b0def07ee8ecc472d (diff)
downloadQt-1d4e8c0a4c0fc41267907c8b1e41bb0b568706cf.zip
Qt-1d4e8c0a4c0fc41267907c8b1e41bb0b568706cf.tar.gz
Qt-1d4e8c0a4c0fc41267907c8b1e41bb0b568706cf.tar.bz2
Fix scrollbar randomly popping up in QPlainTextEdit
When a line break was detected, we would retain the value of the right bearing for the character after the break instead of resetting it to the right bearing of the previous value. This could in some cases cause the bounding rect of the text to be wrong, and could cause unnecessary horizontal scrollbars to pop up. It was especially visible when using WrapAnywhere. Visible e.g. in the compile output in Creator. Done-by: mae Reviewed-by: Eskil Reviewed-by: Lars (cherry picked from commit c5fa9eb1cb02d979502e2c9918d752c6708fb406)
Diffstat (limited to 'doc/src/snippets/code/src_gui_kernel_qevent.cpp')
0 files changed, 0 insertions, 0 deletions