Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] iOS ImageButton has wrong size when used vector source #8862

Closed
kuzub opened this issue Dec 12, 2019 · 3 comments
Closed

[Bug] iOS ImageButton has wrong size when used vector source #8862

kuzub opened this issue Dec 12, 2019 · 3 comments

Comments

@kuzub
Copy link

kuzub commented Dec 12, 2019

Description

After upgrade to XF 4.4.0.991265 on iOS Image button with vector image source has wrong size

Steps to Reproduce

  1. Create new project with Xamarin.Forms 4.2.0.709249
  2. Add ImageButton with vector image source (pdf)
  3. Upgrade to Xamarin.Forms 4.4.0.991265

Expected Behavior

Image button will have same size as image with same source

Actual Behavior

Image button will have NOT same size as image with same source

Basic Information

  • Version with issue: 4.4.0.991265
  • Last known good version: 4.3.0.991221
  • IDE: Visual Studio Community 2019 for Mac Version 8.3.11 (build 1)
  • Platform Target Frameworks: iOS
    • iOS: 13.3
  • Nuget Packages:
    Xamarin.Forms 4.4.0.991265
    Xamarin.Essentials 1.3.1

Screenshots

iOS XF 4 2

iOS XF 4 4

Reproduction Link

https://github.com/kuzub/ImageButtonIssue

@kuzub kuzub added s/unverified New report that has yet to be verified t/bug 🐛 labels Dec 12, 2019
@pauldipietro pauldipietro added this to New in Triage Dec 12, 2019
@sermetk
Copy link

sermetk commented Dec 13, 2019

@kuzub did you try on renderer?:

Control.HorizontalAlignment = UIControlContentHorizontalAlignment.Center;
Control.VerticalAlignment = UIControlContentVerticalAlignment.Center;

@kingces95
Copy link
Contributor

Reproduces as described.

@kingces95 kingces95 moved this from New to Ready For Work in Triage Dec 13, 2019
@samhouts samhouts moved this from Ready For Work to Needs Estimate in Triage Dec 15, 2019
@samhouts samhouts added i/regression and removed s/unverified New report that has yet to be verified labels Jan 3, 2020
@samhouts samhouts added this to the 4.4.0 milestone Jan 3, 2020
@samhouts samhouts added the e/3 🕒 3 label Jan 3, 2020
@samhouts samhouts added this to To do in v4.4.0 Jan 3, 2020
@samhouts samhouts moved this from Needs Estimate to Ready For Work in Triage Jan 3, 2020
@samhouts samhouts added this to To do in iOS Ready For Work Jan 3, 2020
@samhouts samhouts removed this from Ready For Work in Triage Jan 3, 2020
@samhouts samhouts added this to To do in Sprint 164 via automation Jan 3, 2020
@samhouts samhouts moved this from To do to Continued in next sprint in Sprint 164 Jan 18, 2020
@samhouts samhouts added this to To do in Sprint 165 via automation Jan 18, 2020
@samhouts samhouts added this to To do in Sprint 166 via automation Feb 11, 2020
@samhouts samhouts moved this from To do to Continued in next sprint in Sprint 165 Feb 11, 2020
@PureWeen
Copy link
Contributor

duplicate #9054

iOS Ready For Work automation moved this from To do to Done Feb 21, 2020
v4.4.0 automation moved this from To do to Done Feb 21, 2020
Sprint 166 automation moved this from To do to Done Feb 21, 2020
@samhouts samhouts removed this from Done in iOS Ready For Work May 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Sprint 164
  
Continued in next sprint
Sprint 165
  
Continued in next sprint
Sprint 166
  
Done
v4.4.0
  
Done
Development

No branches or pull requests

6 participants