-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Fluent TextBox Template #4008
Fluent TextBox Template #4008
Conversation
Control Porting Guide: Step1: step 2 is: find the winui template... and copy the control specific resources for light and dark you copy that to FluentControlResourcesLight /Dark.xaml step 3: and copy that to the top of our template Step 4: find the default style... copy all of the Setters https://github.com/microsoft/microsoft-ui-xaml/blob/master/dev/Slider/Slider_themeresources.xaml#L179-L188 Step 5: Step 6: replace the word "ThemeResource" with "DynamicResource" Step 7: each set of those should match our pseudo classes. idea is we can refer back to winui code and it will be easier... hence the comment. then simply convert the storyboards to styles...
dont let the word animation put you off, they are generally not, they are just applying styles. would become <Style Selector="...:pressed /Template/ HorizontalTrackRect"> something like that make sure it compiles but please dont start randomly adjusting values to make stuff fit.. if it doesnt layout properly we need to compare it to winui and find out why so if you get to that point and have issues then stop also check all the DynamicResources exist in the codebase as this could be why if 1 is missing |
|
What's the license on the UWP Generic.xaml file? I opened up one locally, and I don't see a license in there. This license? I know |
The microsoft-ui-xaml all depends on that Generic.xaml... and we are not copying the generic file... maybe we could use it as a reference. Might be safer to use a color picker though. |
efd6d2c
to
edef4a5
Compare
28576b7
to
1f6cc92
Compare
edef4a5
to
6757a3d
Compare
6757a3d
to
fb0cced
Compare
What does the pull request do?
What is the current behavior?
What is the updated/expected behavior with this PR?
How was the solution implemented (if it's not obvious)?
Checklist
Breaking changes
Fixed issues