Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.12.3, 6.2.0
-
None
Description
In the following code, the caret is 1 pixel outside of the green rectangle, and yet it is not affected by clipping.
import QtQuick 2.12 import QtQuick.Window 2.12 Window { visible: true width: 640 height: 480 TextInput { width: 100 height: 100 focus: true text: "foo" font.pointSize: 100 clip: true Rectangle { anchors.fill: parent color: "green" } } }
Attachments
Issue Links
- relates to
-
QTBUG-35646 Setting clip property true on TextInput hides cursor on an empty input.
-
- Closed
-
-
QTBUG-37967 The text cursor is not clipped in TextInput control
-
- Closed
-
-
QTBUG-74962 Text inside of TextInput is rendered on top and beyond the border even with specified padding
-
- Reported
-