AiForms.SettingsView icon indicating copy to clipboard operation
AiForms.SettingsView copied to clipboard

FontImageSource icons are not scaled properly

Open paya-cz opened this issue 4 years ago • 0 comments

Description

I use ionicons.ttf font to add font icons to cells via FontImageSource. The icon is rendered, but the aspect ratio is not preserved.

Steps to Reproduce

  1. Add an icon font to the project.
  2. Create a new instance of FontImageSource
  3. Use the FontImageSource as IconSource of a cell.

Expected Behavior

The icon maintains aspect ratio, just like it does with SVG icons.

Actual Behavior

The icon is stretched in all directions without maintaining aspect ratio.

Platforms

  • [ ] Android
  • [x] iOS

Android not tested.

Basic Information

  • AiForms.SettingsView 1.2.12-pre
  • Xamarin.Forms 4.6.0.847
  • Affected Devices: iOS

Screenshots

Simulator Screen Shot - iPhone 11 - 2020-06-09 at 16 49 04

Reproduction Link

FontImageSourceBug.zip

Workaround

None known.

paya-cz avatar Jun 09 '20 09:06 paya-cz