Reputation: 4918
Using Delphi Tokyo and the component TFMXToast I display a toast message like this:
FMXToast1.ToastMessage := 'my message';
FMXToast1.Show(self);
This appear in the form bottom , is there a way to change the message location ?
Upvotes: 2
Views: 666
Reputation: 4918
Thanks to @Victoria
//Top position
FMXToast1.Align := TTextAlign.Leading
//Center
FMXToast1.Align := TTextAlign.Center
//Bottom
FMXToast1.Align := TTextAlign.Trailing
Upvotes: 2