diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-08-26 13:15:58 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-08-26 15:23:42 +0000 |
commit | 6d2f05a8e283bdc46afac0f3d062bf248559c2b9 (patch) | |
tree | 952faa20adee4025ab364d3df970104d89d7b5eb | |
parent | 7bc619bd07e80672f420610508fe60c64cf870d7 (diff) |
texteditor/touch: elide the title when it doesn't fit
Change-Id: Ib1e9de9d23b708e5ddfc131dce8da5570a61d17a
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r-- | examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml b/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml index 46b84a2a..4dc06b28 100644 --- a/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml +++ b/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml @@ -76,9 +76,7 @@ ApplicationWindow { text: qsTr("Text Editor Example") font.bold: true font.pixelSize: 20 - } - - Item { + elide: Label.ElideRight Layout.fillWidth: true } |