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 for Bug 37614 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Using Xamarin.Forms, I create a Button containing a short piece of text, such as "on".
I specify a MinimumWidthRequest, but the Button on iOS is rendered with a Width less than the MinimumWidthRequest.
To reproduce, instantiate a ContentPage with the following instance variable, and method, then put the bottom piece of code in the constructor for the ContentPage. Build and run. Press the button that is displayed, and it's width will appear in the page title. The width on my devices shows 30, even though the MinimumWidthRequest is 44.
// instance variable
private Button _b;
private void OnPress()
this.Title = _b.Width.ToString();
// in the ContentPage constructor, put the following lines:
_b = new Button
BackgroundColor = Color.Aqua,
TextColor = Color.Black,
Text = "on",
MinimumWidthRequest = 44,
HorizontalOptions = LayoutOptions.Start,
VerticalOptions = LayoutOptions.Start,
Command = new Command(OnPress)
Content = _b;