Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0
-
None
-
N/A
Description
Steps to reproduce:
- write some text in the red box
Expected outcome:
- the text in the blue box is NOT elided
Actual outcome:
- the text in the blue box is often elided, especially when adding more characters
import QtQuick 2.0 Rectangle { width: 360 height: 360 Column { spacing: 10 anchors.centerIn: parent Text { text: input.text width: implicitWidth // <--- elide: Text.ElideRight Rectangle { border.color: "blue"; color: "transparent"; anchors.fill: parent } } TextInput { id: input focus: true text: "Hello World" Rectangle { border.color: "red"; color: "transparent"; anchors.fill: parent } } } }