Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FontImageSource icons are not scaled properly #112

Open
1 of 2 tasks
paya-cz opened this issue Jun 9, 2020 · 0 comments
Open
1 of 2 tasks

FontImageSource icons are not scaled properly #112

paya-cz opened this issue Jun 9, 2020 · 0 comments

Comments

@paya-cz
Copy link

paya-cz commented Jun 9, 2020

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
  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant