← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1603450] Re: Changing elide in ListItemLayout title not possible

 

** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

** Changed in: canonical-devices-system-image
       Status: New => Fix Committed

** Changed in: canonical-devices-system-image
   Importance: Undecided => Medium

** Changed in: canonical-devices-system-image
    Milestone: None => 13

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1603450

Title:
  Changing elide in ListItemLayout title not possible

Status in Canonical System Image:
  Fix Committed
Status in ubuntu-ui-toolkit package in Ubuntu:
  In Progress
Status in ubuntu-ui-toolkit package in Ubuntu RTM:
  Fix Released

Bug description:
  Reproduce:

  import QtQuick 2.4
  import Ubuntu.Components 1.3
  Item {
      width: units.gu(30)
      height: units.gu(50)

      ListItem {
          ListItemLayout {
              id: fileLayout
              title.elide: Text.ElideMiddle
              title.text: "Red Roses run no risk, sir, on nurses order."
          }
      }
  }

  What happens:
  The text is not elided at all

  What should happen:
  Text should elide, and the palindrome edges should be visible:

  Red roses run … nurses order.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1603450/+subscriptions