Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.0.0
-
None
Description
Not sure if this regression from Qt Quick 1.0 is a bug or intentional. In Qt Quick 1.0 TextInput automatically clips text that doesn't fit it's dimensions like in the following example (see screenshots). In Qt Quick 2.0 clipping requires TextInput element's clip property to be set to true.
import QtQuick 2.0 Rectangle { width: 400; height: 200 TextInput { width: 100; anchors.centerIn: parent text: "A lot of text written in such a small space" } }
Attachments
Issue Links
- is duplicated by
-
QTBUG-29316 Text in TextInput is drawn behind the element
-
- Closed
-
- is replaced by
-
QTBUG-97648 TextField clipping breaks batching; so maybe avoid populating characters outside?
-
- Reported
-