diff options
author | Mika Salmela <mika.salmela@qt.io> | 2017-09-15 08:52:23 +0300 |
---|---|---|
committer | Mika Salmela <mika.salmela@qt.io> | 2017-10-06 10:56:36 +0000 |
commit | 0366f68b6d63efb2544ccd75dce5157e9c8d6313 (patch) | |
tree | 65b120352293d58b116f1919812d8d9d3bd36e02 /src/gui/painting/qpaintengine_raster.cpp | |
parent | 248beda08f831d04e6b59df202921152b106bbfa (diff) |
Prevent changing the width for layout item's rect
For gridlayout items the x position is rounded, but the QRectF changes
the width to keep the right edge. The width is yet calculated exactly
for the text so we need to preserve it.
Task-number: QTBUG-61244
Change-Id: I823ba742c9ab299740232b5d9b4ad5713e1782c4
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/gui/painting/qpaintengine_raster.cpp')
0 files changed, 0 insertions, 0 deletions