Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.11, 6.6.1
-
None
Description
With certain fonts, font sizes and layout constraints a Text item may consistently hide the last half-elided word at certain width during resizing.
See the attached video, and run the attached example.
For greppability, here it in:
import QtQuick 2.15 import QtQuick.Layouts 1.15 RowLayout { width: 200 height: 100 Text { wrapMode: Text.Wrap fontSizeMode: Text.Fit elide: Text.ElideRight text: "Abc Def 123456" font.family: "SF Pro Display" font.pointSize: 12 Layout.fillWidth: true Layout.maximumHeight: 30 } }
Reproducible both on Qt 5 & 6.