-
Notifications
You must be signed in to change notification settings - Fork 33
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
[Material][TextBox] Make all property values on Setters from VisualStates accessible via ThemeResources #1469
Comments
Besides that, we have found that the behavior of the A default Material We understand that the Thanks in advance. UpdateWe have found a workaround for now, maybe it can give you some clue or the solution itself. The workaround is about setting the |
FYI @agneszitte as I know we had worked on fiddling with these numbers previously |
The fixes are now available with the latest dev build of Uno Themes, but they haven’t yet been released in a stable version of In the meantime, you can already test the latest fixes by overriding the Uno Themes version specifically (alongside the latest stable
Warning Please remember to remove this override when it’s no longer necessary, once the fixes are included in a stable release of uno.sdk. Here are the details of the related changes to the Resource Keys with the latest updates: Please feel free to reach out to us with any additional feedback as needed. |
What would you like to be added:
ThemeResources for property values that are currently set directly to Setters in VisualStates.
Uno.Themes/src/library/Uno.Material/Styles/Controls/v2/TextBox.xaml
Lines 679 to 688 in 569a9c0
As you can see, the properties
RootBorder.BorderThickness
andRootBorder.Padding
have no ThemeResources like the other Setters.Why is this needed:
It would be very useful since this way you can easily customize the style referring to the key of the
ThemeResource
. It would not be convenient to modify the setters in any other way.Anything else we need to know?
I am having this problem with the Style
MaterialOutlinedTextBoxStyle
.The text was updated successfully, but these errors were encountered: