ramensoftware / windhawk-mods

The official collection of Windhawk mods
285 stars 53 forks source link

[Vertical Taskbar for Windows 11] Use a grid for tray icons #1068

Open m417z opened 3 days ago

m417z commented 3 days ago

Discussed in https://github.com/ramensoftware/windhawk-mods/discussions/1067

Originally posted by **WegnerDan** October 12, 2024 I really like that I can finally have a vertical taskbar in win11! But the tray icon area is really large. On Win10 and before, I used to have a similar taskbar setup, but the icons weren't in one row, but took up the available horizontal and vertical space. Is there a way to get the same thing with this mod? ![image](https://github.com/user-attachments/assets/3426c80c-6b93-46df-b855-da577a93719f) I know I have a lot of crap running, but I'm using all of it. I've already disabled the widgets, so the weather stuff isn't displayed anymore. I made photoshop mockup of what I mean: ![taskbar_modified_tray](https://github.com/user-attachments/assets/7cd7a220-1cb9-4920-ab9d-0b0464d9f71a)
m417z commented 3 days ago

Currently that's not possible with the mod. I looked at having a grid of notification icons, but unfortunately, that's not so easy, as the control that's used by the taskbar (Xaml.Controls.StackPanel) is designed for arranging elements in a single line. Working around that requires some research.

One workaround is, of course, to keep some/most tray icons in the overflow menu. Another workaround is to switch the control orientation to horizontal, which is supported by the control. The downside is that the amount of icons that can fit is limited by the taskbar width, but perhaps it'll work for you.

The orientation, and additional styles such as spacing between items, can be customized with the Windows 11 Taskbar Styler mod. Let me know if you want to try it and I'll help configuring it.

image