-
Notifications
You must be signed in to change notification settings - Fork 2
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
windows-11-notification-center-styler - Always Expand / Increase Width #16
Comments
Hi, since it's not a mod enhancement suggestion, I moved it to a more appropriate place - notification center styling guide. I don't have time to look at it right now, but perhaps somebody will be able to help you. You can also join our Discord server where we have a channel about styles. |
Will check out the discord - but isn't it a feature enhancement? (Auto expand all notifications?) |
Not for this mod. Windows 11 Notification Center Styler is designed to allow settings styles for UI elements, not for doing specific things like "Auto expand all notifications", which perhaps can be achieved via styles. It could be a suggestion for a new mod, though. |
Looks like its a visual state However, what we can do is set how many lines of text each notification will show, and set the height of the element to a value large enough to fit the whole text. something like this for a start:
this would basically show the notification details while still technically being in the collapsed state, I believe that's the best we can achieve right now |
@bbmaster123 Thanks, that does help a ton Any chance you know how to increase the width? I suspect I may need to set something on the Windows.UI.Xaml.Window but all the attributes are empty when I look at it in UWPSpy. |
@AJolly
Unfortunately we cannot target the root window in either UWPSpy or windhawk, only the child elements. If elements are going off screen, its likely the element you want to widen (whole notification panel?) is either being constrained by a parent element, or constrained by a bounding box. If the former, you should be able to just widen the parent element and then the desired child element. If the latter, we would need a whole new windhawk mod to deal with it. Please check out my guide if you haven't already, I explain this and more in further detail: Let me know if you have any other questions! :) |
@AJolly
Agreed I'd be happy to document what each does and link it to the guide (plus default value). Maybe at some point it could be included in uwpspy as tooltips too. There are a lot though, would take some time to write out all those descriptions!
Without a new mod, this is about as wide as I could get it:
Its not impossible but it would take some effort. Might be worth making a request on the discord |
@bbmaster123 What settings did you use to get it that wide? I wouldn't expect anyone to write all that documentation, just copy the first line from the existing api docs. |
@AJolly
I'm less busy now so shoot me a ping if that doesn't work :)
normally I'd agree about just copying from the ms docs, but honestly I think I would need to rewrite a lot of the descriptions for clarity anyways. A lot of users need everything to be eli5. Plus I'd rather write it out once in the tooltip than 100 times in the issues section.
or
but anyway I'm happy to do it :) |
@m417z
I'd love a few options to make the windows notification center more useful,
(This all gets a lot more useful if you've
Increased the max number of notifications
sqlite3 "%USERPROFILE%\Local\Microsoft\Windows\Notifications\wpndatabase.db" "UPDATE MetaData SET value = '1500' WHERE key = 'toast:maxCount';"
Set notification center to stay open, or stay open longer
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ImmersiveShell\Launcher]
"DisableLightDismiss"=dword:00000001
[HKEY_CURRENT_USER\Control Panel\Accessibility]
"MessageDuration"=dword:0000001e
I did poke around with UWPSpy to try and change the width, but I couldn't manage to figure it out for the right elements
The text was updated successfully, but these errors were encountered: