diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2016-06-13 15:00:42 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2016-06-13 13:45:23 +0000 |
commit | e3a6565c3832e6f3001d49c52ca59fa4fa555f1b (patch) | |
tree | b26e908ec795489a97aba33a01a3b2947ffd81e2 /tests/auto/quick/qquickitem2 | |
parent | 0932a59971f606f07b41da19f3974d51b7008180 (diff) |
QQuickTextInput: include padding when reporting anchor rect
If a padding is set on QQuickTextInput (like controls 2
does), the anchor selection handle ends up at a wrong
location. So ensure that we include padding when calculating
achor rect (like we do for QQuickTextInput::cursorRectangle()).
Change-Id: I356d38443ad891959f3242e254e37961e4965a4c
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickitem2')
0 files changed, 0 insertions, 0 deletions