← Back to team overview

ubuntu-touch-coreapps-reviewers team mailing list archive

[Merge] lp:~verzegnassi-stefano/ubuntu-docviewer-app/fix-1523113 into lp:ubuntu-docviewer-app

 

Stefano Verzegnassi has proposed merging lp:~verzegnassi-stefano/ubuntu-docviewer-app/fix-1523113 into lp:ubuntu-docviewer-app.

Commit message:
DocumentListDelegate: wrap title text anywhere. Fix bug #1523113.

Requested reviews:
  Ubuntu Document Viewer Developers (ubuntu-docviewer-dev)
Related bugs:
  Bug #1523113 in Ubuntu Document Viewer App: "File name elided at half width and not wrapped to the next line"
  https://bugs.launchpad.net/ubuntu-docviewer-app/+bug/1523113

For more details, see:
https://code.launchpad.net/~verzegnassi-stefano/ubuntu-docviewer-app/fix-1523113/+merge/281403

DocumentListDelegate: wrap title text anywhere. Fix bug #1523113.
-- 
Your team Ubuntu Document Viewer Developers is requested to review the proposed merge of lp:~verzegnassi-stefano/ubuntu-docviewer-app/fix-1523113 into lp:ubuntu-docviewer-app.
=== modified file 'src/app/qml/documentPage/DocumentListDelegate.qml'
--- src/app/qml/documentPage/DocumentListDelegate.qml	2015-10-27 14:09:26 +0000
+++ src/app/qml/documentPage/DocumentListDelegate.qml	2015-12-29 17:14:13 +0000
@@ -48,8 +48,11 @@
 
         /* UITK 1.3 specs: Slot A */
         title {
+            // FIXME: We may want to reserve 2 lines for displaying the title.
+            // 2015.12.29: that's not possible because of bug lp:1529909
             text: model.name
             elide: Text.ElideRight
+            wrapMode: Text.WrapAnywhere
             color: UbuntuColors.midAubergine
         }
 


Follow ups