diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2017-12-03 12:56:35 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2018-03-04 10:51:54 +0000 |
commit | 8f2bacea41443af8564ff78f284016b6615a001b (patch) | |
tree | c7d5d2f2ef45565e5e735dc3d7b43629f803c571 /src/gui/text/qtextengine.cpp | |
parent | fd207c06b81b12086bdf80e4fa7b393bf1f424d6 (diff) |
QTableView: Fix drawing grid for spanned cells
QTableView draws its gridlines at width/height of the cells. This
means that there is no gridline at x=0 and/or y=0. This is fine when
there is a header. But when the header is invisible, an additional
line at 0 must be drawn to have a boundary to the neighbor widget.
When a span is drawn, the clip rect has to be adjusted in this case
because x/y=0 belongs to the cell (and therefore would be clipped
out).
Also fix the drawing of the grid lines in RTL mode and with
ScrollPerPixel.
Task-number: QTBUG-22972
Change-Id: I1829770e3d5bf65421b590f7bb7354cbf222e3fb
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/gui/text/qtextengine.cpp')
0 files changed, 0 insertions, 0 deletions