Merge lp://qastaging/~fboucault/unity-2d/multiline into lp://qastaging/unity-2d/3.0
Proposed by
Florian Boucault
Status: | Merged |
---|---|
Approved by: | Olivier Tilloy |
Approved revision: | 521 |
Merged at revision: | 523 |
Proposed branch: | lp://qastaging/~fboucault/unity-2d/multiline |
Merge into: | lp://qastaging/unity-2d/3.0 |
Diff against target: |
110 lines (+47/-5) 4 files modified
places/HomeButton.qml (+2/-2) places/RendererGrid.qml (+4/-0) places/TextMultiLine.qml (+38/-0) places/UnityDefaultRenderer.qml (+3/-3) |
To merge this branch: | bzr merge lp://qastaging/~fboucault/unity-2d/multiline |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Tilloy (community) | Approve | ||
Review via email:
|
Description of the change
[dash] Labels are now multiline to allow for more text to be displayed and the user
to have a better chance to understand what the items are. Hovering over cropped labels
will expand them fully.
To post a comment you must log in.
There is a few things to take into account: bugreports. qt.nokia. com/browse/ QTBUG-12305 but the patch to Qt is quite intrusive and not trivial to backport to 4.7.2
- this is a workaround for a missing feature in the Text QML element
- the Qt developers implemented the feature properly in a more recent Qt version: http://
- this workaround has a big, acceptable drawback: ellipsis never happens (the ... are never displayed)
Also it is a known issue that when hovering a result that has its label cut will expand the text over the rectangle that indicates the selection. It is not very pretty and we will devise a solution for that later.