From 507f8066e971443d5e1742e282549bc20a78c86a Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 8 Dec 2016 11:53:39 +0100 Subject: [PATCH] fix(ui/modules/Common/Form/ScrollableTextEdit): fix mouse pressed not detected on some cases --- tests/ui/modules/Common/Form/ScrollableTextEdit.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/ui/modules/Common/Form/ScrollableTextEdit.qml b/tests/ui/modules/Common/Form/ScrollableTextEdit.qml index b7bca766b..8339dc399 100644 --- a/tests/ui/modules/Common/Form/ScrollableTextEdit.qml +++ b/tests/ui/modules/Common/Form/ScrollableTextEdit.qml @@ -68,14 +68,12 @@ Item { : TextEditStyle.textColor.normal padding: ListFormStyle.value.text.padding selectByMouse: true + width: flick.width wrapMode: Text.Wrap Keys.onEscapePressed: focus = false Keys.onReturnPressed: focus = false - height: flick.height - width: flick.width - onCursorRectangleChanged: flick._ensureVisible(cursorRectangle) onEditingFinished: _handleEditionFinished() }