-
Notifications
You must be signed in to change notification settings - Fork 405
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
[BUG] CompareConverter sample does not work (Label does not change color) #796
Comments
@michelmoorlag you need to fork the repository and then you will be able to push your changes |
@VladislavAntonyuk, Can I then make a pull request from the fork and would that be helpfull? |
Yes, sure. All PRs are welcome, if you follow the flow described in readme. You are on the right way. we have a plan to create some demos for newcomers from discussion to merged PRs |
@VladislavAntonyuk I read the readme but its about the flow requesting new features, not about the technical details like you need to fork etc |
I reproduced the issue and removed the unverified label. |
@michelmoorlag for bug fixes you can go and open a PR and reference this issue. Let me know if you need any help |
Is there an existing issue for this?
Current Behavior
When I open the samples and go to the CompareConverterPage the Label does not change color when sliding the range silder.
Expected Behavior
I expect the label to change between Lightgreen and PaleVioletRed but it has always the default background color
Steps To Reproduce
Link to public reproduction project repository
https://github.com/CommunityToolkit/Maui
Environment
Anything else?
It can be fixed by adding the following to the page resource dictionary:
<Color x:Key="LightGreen">LightGreen</Color> <Color x:Key="PaleVioletRed">PaleVioletRed</Color>
And the set the True- and FalseObject like this:
TrueObject={StaticResource LightGreen}, FalseObject={ StaticResource PaleVioletRed}
I created a branch with the fix but I get a 403 when I try to Push the branch.
The text was updated successfully, but these errors were encountered: