-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rating bar completed from bottom to top #3113
Comments
I have test and the new code to change is in RatingBar.cs Changing the "for (int i = start; i <= Max; i++)" to "for (int i = Max; i >= start; i--)" is what I want Perhaps someone can add a property "BottomToTop" True / False and changing the for iteration ? thank you. private void RebuildButtons() |
@JeanPhilippeLux This seems like a reasonable request, however the name Perhaps something like |
Hi, "InvertDirection" is really a better name (sorry for my english, I'm french speaker). And yes, for the horizontal display, the option is not ideal. I have test my code on the demo and it works (just need the property to add). |
@JeanPhilippeLux I added a PR to introduce the property. Needed a little more work than just the |
@nicolaihenriksen just make a test but your code is better. Thank you verry much. |
Hi,
actually, the rating bar is completed from top to bottom.
I was wandering if it's possible to have an option to complete the rating bar from bottom to right.
Thank you very much.
The text was updated successfully, but these errors were encountered: