Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 16064 [details]
Using the XAML block below in the MainPage.XAML of the PCL, the button image displays properly in the iOS and Android apps, but in the WinPhone app the image in the button is only a fifth of the button size and centered in the button. Screen snip attached.
<Button x:Name="Pre_authorize" Image="icon_tablet.png" Clicked="Click_Pre_Authorize" HorizontalOptions="Center" VerticalOptions="Center" BackgroundColor="#BFBEBED2" BorderColor="#BFBEBED2" IsVisible="True" Grid.Row="0" Grid.Column="0">
<OnPlatform x:TypeArguments="x:Double" WinPhone="133" iOS="80" Android="133"/>
<OnPlatform x:TypeArguments="x:Double" WinPhone="112" iOS="80" Android="133"/>
<OnPlatform x:TypeArguments="x:Double" WinPhone="1" iOS="1" Android="1"/>
Using VS Enterprise 2015 v14.0.25123.00 Update 2 with the latest updates as of today.
*** This bug has been marked as a duplicate of bug 27417 ***
Reopening to avoid confusion, since this is specific to Windows platforms.
Should be fixed in 2.3.1-pre1
Yet to be released? I have Xamarin.Forms v22.214.171.124-pre3 installed and it was not working.
(In reply to email@example.com from comment #4)
> Yet to be released? I have Xamarin.Forms v126.96.36.199-pre3 installed and it was
> not working.
Yes, it's not in 188.8.131.52-pre3. It should be in 2.3.1-pre1.
I have checked this issue with Xamarin.Forms 2.3.1-pre2 and observed that this issue is working fine.
Sample project: https://www.dropbox.com/s/3xr47w96svz5y4t/ImageButtonRecipe.zip?dl=0
Please follow the screencast and let me know If I can check anything else regarding the same.