← Back to team overview

touch-packages team mailing list archive

[Bug 1465582] Re: TrailingAction widths needs to be clamped

 

<nik90> zsombi: hey, are the trailingaction widths dependent on the listitem height somehow? I am hitting this bug https://imgur.com/a/Tx3K5#0
<zsombi> nik90: yes it is...
<nik90> zsombi: hmm perhaps I should show the description in a dialog to avoid a big listitem in that case
<zsombi> nik90: but what's wrong there?
<nik90> zsombi: in the 3rd image, my entire list item is hidden by the trailing actions and also the 3rd trailing action "info" has no background
* patriciadavila (~patriciad@2001:67c:1560:a003:b1da:8d9f:1c5f:de2e) has joined #ubuntu-app-devel
<zsombi> nik90: hmm! that's bad, seems we have to adjust the width calculation
<nik90> zsombi: yeah ... perhaps add a Math.max() to ensure it doesnt exceed a design set max value
<zsombi> nik90: I think we have a clamp there...
<zsombi> nik90: yes, we have, but the minimum value is the height of the listitem, and that's not good
<nik90> zsombi: ah ok..

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

Title:
  TrailingAction widths needs to be clamped

Status in ubuntu-ui-toolkit package in Ubuntu:
  Triaged

Bug description:
  In Podbird we have listitems that are sometimes big (height wise) and
  it has been noticed that when the listitem is big, the trailing edge
  actions width are too big that it hides the entire listitem when
  swiping left. Attached are screenshots that illustrate the issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1465582/+subscriptions


References