-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Update InAppNotification style #3771
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
Conversation
Thanks ismaelestalayo for opening a Pull Request! The reviewers will test the PR and highlight if there is any conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌 |
|
@ismaelestalayo Thanks for submitting the PR. Can you please sign the CLA requirement above? ⬆️ |
I already signed it, but the bot sent the CLA message twice, and only the first one updated to show that I signed it. |
Looks good now. Thanks, @ismaelestalayo for double checking. |
Hello @michael-hawker! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
@msftbot only merge if @vgromfeld approves. @vgromfeld which style are you using currently? Let me know how this looks to you. |
Hello @michael-hawker! Because you've given me some instructions on how to help merge this pull request, I'll be modifying my merge approach. Here's how I understand your requirements for merging this pull request:
If this doesn't seem right to you, you can tell me to cancel these instructions and use the auto-merge policy that has been configured for this repository. Try telling me "forget everything I just told you". |
We are currently using a custom template to tweak some parts for our apps (mostly alignments) but with this change, it seems that we will not longer need them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ismaelestalayo not sure if this is related to this PR or a regression from 6.1, but looks like the 'without DataTemplate' example doesn't position the close button properly:
Compared to current 6.1 sample app:
Is this something you'd mind taking a quick look at to fix in either case?
Also, to clarify, assuming some of the others have moved to the top-right based on the InfoBar template?
vs.
Just wanted to make sure it was intentional.
Thanks!
Fixed in the next code i'm gonna push: I also fixed the "notification with Drop Shadow" having the X in the center, as my intention was to put it in the top right corner like |
Oh, you can see in the changes I made, but I took this oportunity to make the text and buttons from the examples smaller (font from 16 to 14, like the default, and buttons from 40x120 to 30x100) |
This PR has been marked as "needs attention 👋" and awaiting a response from the team. |
@ismaelestalayo I believe the default is 32, no? As it's a multiple of 4. Currently at 150% DPI the bottom of the buttons don't scale properly: |
Oh, I just noticed this is based off the master of your fork. It needs to be in a feature branch. I'll rebase this off my fork and just push and commit, since we're ready to go. I'll close this PR for now and ping you on the new one. |
…nappnot-restyle Update InAppNotification style to match WinUI InfoBar
Fixes
Fixes #3770 by bringing the style of the
InfoBar
to theInAppNotification
control.PR Type
What kind of change does this PR introduce?
What is the current behavior?
#3770
What is the new behavior?
The coloring, font size and margins were updated to match the new
InfoBar
control.PR Checklist
Please check if your PR fulfills the following requirements: