Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.0.0
-
None
Description
Following code returns 1 pixel cursor width even though 2 pixels would be expected:
import QtQuick 2.0 Rectangle { width: 200 height: 300 TextInput { x: 10; y: 10 width: 180 text: "cursor delegate test" cursorDelegate: Rectangle { width: 2; color: "blue" } onCursorPositionChanged: { console.log("cursorRectangle.width: " + cursorRectangle.width) console.log("cursorRectangle.height: " + cursorRectangle.height) } } }
Attachments
For Gerrit Dashboard: QTBUG-22612 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
12173,2 | Document inputMethodHints and cursorRectangle properties. | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |