From bf817782e6dfeb8455febe3e481bcdb4c383ed05 Mon Sep 17 00:00:00 2001 From: Andrew den Exter Date: Thu, 3 May 2012 13:03:29 +1000 Subject: Ensure the cursor rectangle is updated when preedit text changes. Updating only when the cursor position changes isn't enough because changing pre-edit text changes the width of the pre-edit area and the x offset of all cursor positions within it. Change-Id: I3c0a5e4ad4714a903ca84c1a25374491f34d95a0 Reviewed-by: Yann Bodson --- tests/auto/quick/qquicktextinput/data/inputMethodEvent.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/auto/quick/qquicktextinput/data') diff --git a/tests/auto/quick/qquicktextinput/data/inputMethodEvent.qml b/tests/auto/quick/qquicktextinput/data/inputMethodEvent.qml index 907ea68b10..9e04620d8f 100644 --- a/tests/auto/quick/qquicktextinput/data/inputMethodEvent.qml +++ b/tests/auto/quick/qquicktextinput/data/inputMethodEvent.qml @@ -1,6 +1,7 @@ import QtQuick 2.0 TextInput { + width: 300 focus: true autoScroll: false -- cgit v1.2.3