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 28621 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
When the text on a Button view contains more than one line (separated by carriage return\linefeed) or text that does not fit on one line, the result is different on each platform.
On WinPhone, each line is shown, but left-justified. Any line that doesn't fit is clipped.
On Android, each line is shown, but centered. Any line that doesn't fit is automatically wrapped.
On iOS, only the first line is shown. If the first line is long, the font size will be reduced and/or part of the text will be replaced by an ellipsis.
Demonstrated by the following code:
public class App : Application
// The root page of your application
MainPage = new ContentPage
Title = "Page Title",
Padding = new Thickness(0, Device.OnPlatform(20, 0, 0), Device.OnPlatform(0,0,20), 0),
Content = new StackLayout
HorizontalOptions = LayoutOptions.Fill,
Orientation = StackOrientation.Vertical,
Padding = new Thickness(0, 0, 0, 0),
VerticalOptions = LayoutOptions.Fill,
Text = "Top button - line 1 of 2\r\nTop button - line 2 of 2 is a lot longer than line 1"
protected override void OnStart()
// Handle when your app starts
protected override void OnSleep()
// Handle when your app sleeps
protected override void OnResume()
// Handle when your app resumes
Is there any update on this? It is more than 8 months since this was raised.
Something new in this case?
Facing the same issue here. Any update on it?
Confirmed as still a problem in Xamarin 220.127.116.114, 7 weeks before this bug's 2 year birthday
Still is a problem with Xamarin.Forms 18.104.22.168 - a two year old bug !!
Just found out the bug I just ran in to has been reported 2 and a half year ago.
Please fix it