Toast Visual Enhancements #1047
Closed
gsgou
started this conversation in
New Feature Discussions
Replies: 2 comments
-
not sure if all of these suggestions can be done. we are limited by google implementation of snackbar and toast and can only provide that functionality. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closed and answered |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
A couple (hopefully) small changes/additions that would add a lot of flexibility and functionality to Toast.
API Changes
Define text alignment: In ToastOptions, remove bool IsRtl and add TextAlignOption TextAlign where
TextAlignOption { Left, Center, Right}.
Define width: In ToastOptions, add bool FullWidth where True renders the Toast from edge to edge, false renders it the length of the text + padding
Define a float: In ToastOptions, add int FloatMargin that will float the toast given number of pixels above the anchor.
Intended Use Case

Beta Was this translation helpful? Give feedback.
All reactions