Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix multiline eliding and support eliding when height is set.
Task-number: QTBUG-22920, QTBUG-22116 Change-Id: Ibe78ce1b0b438eec32955b986a8740f173cd082f Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
- Loading branch information
Martin Jones
authored and
Qt by Nokia
committed
Nov 28, 2011
1 parent
fb237da
commit 7d4a187
Showing
4 changed files
with
154 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import QtQuick 2.0 | ||
|
||
Text { | ||
width: 200; height: 200 | ||
wrapMode: Text.WordWrap | ||
elide: Text.ElideRight | ||
maximumLineCount: 3 | ||
text: "the quick brown fox jumped over the lazy dog the quick brown fox jumped over the lazy dog" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters