Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.1
-
None
Description
Run the code below and try to use the mouse to select a word from the end of the text.
There does not appear to be any way of telling how much of the text has scrolled off
the left edge.
import Qt 4.7 Rectangle { width: 640; height: 480; Rectangle { anchors.centerIn: parent width: 400; height: 25; color: "blue" TextInput { anchors.fill: parent color: "white" focus: true text: "Sea Shepherd campaigner Peter Bethune faces 15 years in jail after boarding whaling ship" MouseArea { anchors.fill: parent onPressed: parent.cursorPosition = parent.xToPosition(mouse.x); onPositionChanged: parent.moveCursorSelection(parent.xToPosition(mouse.x)); } } } }
Attachments
Issue Links
- resulted in
-
QTBUG-11127 autoScroll implementation is wrong
- Closed