← Back to team overview

touch-packages team mailing list archive

[Bug 1421293] Re: Icon width is inconsistent when height is specified

 

Ahm, Albert, I have worst news for you: design said we have to set the
implicit width/height to 2grid units... so you will have to do more
calculations if we apply that :(

Perhaps we expose the image size so you can decide whether you want to
bind to that or not.

-- 
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/1421293

Title:
  Icon width is inconsistent when height is specified

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

Bug description:
  The width of an Icon {} depends if the Icon is an SVG coming from
  image://theme/ or a JPG.

  For the SVG the width grows as the units.gu grow, but for the JPEG it
  does not and one has to manually add code to maitain the aspect ratio.

  See the attached code and files.

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


References