Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Enhancement] Toast Visual Enhancements #1425

Closed
1 of 2 tasks
czuck opened this issue Jun 21, 2021 · 4 comments
Closed
1 of 2 tasks

[Enhancement] Toast Visual Enhancements #1425

czuck opened this issue Jun 21, 2021 · 4 comments
Labels
a/Snackbar enhancement Small enhancement to the library needs-approval Feature request has been submitted but is awaiting final approval. Please do not implement before! needs-specifications Accepted feature/enhancement and needs specification.

Comments

@czuck
Copy link

czuck commented Jun 21, 2021

Summary

A couple (hopefully) small changes/additions that would add a lot of flexibility and functionality to Toast.

API Changes

  1. Define text alignment: In ToastOptions, remove bool IsRtl and add TextAlignOption TextAlign where
    TextAlignOption { Left, Center, Right}.
  2. 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
  3. Define a float: In ToastOptions, add int FloatMargin that will float the toast given number of pixels above the anchor.

Intended Use Case

Used optionally whenever toast is used to position the toast in an optimal position.
image

Who Will Do The Work?

  • I am willing to take this on myself
  • Just putting this out there for someone to pick up
@czuck czuck added bug Something isn't working. Breaky break. s/unverified This issue needs verification/reproduction by a team member. PRs cannot be accepted/merged. labels Jun 21, 2021
@jfversluis
Copy link
Member

Thanks for your ideas @czuck ! Please next time take the time to fill out the template to provide us with some more details about your valuable thoughts. The better the understanding we have about what you would like to see, the more likely it is to be implemented.

@jfversluis jfversluis added a/Snackbar enhancement Small enhancement to the library needs-approval Feature request has been submitted but is awaiting final approval. Please do not implement before! needs-specifications Accepted feature/enhancement and needs specification. and removed bug Something isn't working. Breaky break. s/unverified This issue needs verification/reproduction by a team member. PRs cannot be accepted/merged. labels Jun 22, 2021
@Tommigun1980
Copy link

Very much related: #1399

@brminnick
Copy link
Contributor

Thanks! However, we are no longer adding new features to Xamarin Community Toolkit, focusing on the .NET MAUI Community Toolkit.

Please open a New Feature Discussion to implement this feature in the .NET MAUI Community Toolkit.

I've posted more information about the Future Of Xamarin Community Toolkit here: https://devblogs.microsoft.com/xamarin/the-future-of-xamarin-community-toolkit/?WT.mc_id=mobile-0000-bramin

@gsgou
Copy link

gsgou commented Mar 1, 2023

Opened a New Feature Discussion

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/Snackbar enhancement Small enhancement to the library needs-approval Feature request has been submitted but is awaiting final approval. Please do not implement before! needs-specifications Accepted feature/enhancement and needs specification.
Projects
None yet
Development

No branches or pull requests

5 participants