MarcBruins/TTGSnackbar-Xamarin-iOS

Message Text Alignment

fdhsdrdark opened this issue · 1 comments

More of a question than an actual issue: Is there a way to horizontally align the message text?
Thanks very much!

Ok, sorry - got it. Here it is for future users:

TTGSnackbar messageSnackBar = new TTGSnackbar("My Message!")
{
Duration = TimeSpan.FromSeconds(Constants.AlertShowDurationSecondsShort),
BottomMargin = UIHelpers.GetSnackBarBottomMargin(),
MessageTextAlign = UITextAlignment.Center
};
messageSnackBar.Show();