Comment 4 for bug 1378417

Revision history for this message
MichaƂ Sawicz (saviq) wrote : Re: [Bug 1378417] Re: Icon clipping in notification-renderer

W dniu 29.10.2014 o 14:37, Matthieu James pisze:
> The battery icon is clipped because it's not a square but a rectangle: the source file canvas is 105x90 px. The icon should be downsized while maintaining its aspect ratio.
> I am not sure if at the moment, the SDK allows to display an image which is not squared but I know that Sebastien Bacher wrote a hack to display the same icon in the indicator bar (and the system settings menu).

Non-square icons are indeed supported in the SDK now, but it is assumed
that the icon will be square, as per the notification spec. This should
be an easy fix in unity8 then (fillMode: Image.PreserveAspectFit).