When there is not enough space for rendering a complete line of a multi-line item, the renderer stops rendering completely and the following lines are not drawn at all.
Problem seems to be caused by the "break;" in the loops found in QCommonStylePrivate::viewItemDrawText() in gui/styles/qcommonstyle.cpp.
Rendering should not stop when there are more lines to render.
Attached project demonstrates the issue.
|For Gerrit Dashboard: QTBUG-14949|
|218249,3||QStyledItemDelegate: fix drawing elided multi-line texts||dev||qt/qtbase||Status: MERGED||+2||0|
|229670,6||QCommonStyle: properly elide last visible line||dev||qt/qtbase||Status: MERGED||+2||0|