Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
4.7.1
-
08bd83f5f1b738713e80bbfbd06468d27c5d3694, 82c0594ef35dbe9520da2f5e0900385c68f1cba5, 57ddd7c69705dfbf3d06b8a0157e5e706120c818
Description
1. Changing the layout and look&feel of your view depending on whether you have single line or multi-line text requires hacky height checks, which break change anything affecting the height, like the used font.
-> read-only visibleLines property
2. In mobile applications, you often want to limit the maximum number of lines due to limited screen estate available for UI elements. Again solving this with height checks is hacky.
-> writable maximumVisibleLines property
3. Also, the elide should work in Text element when maximumVisibleLines has been set.
Attachments
Issue Links
- depends on
-
QTBUG-13451 Support property versioning in QML
- Closed