ramensoftware / windhawk-mods

The official collection of Windhawk mods
222 stars 43 forks source link

[taskbar-labels] Add setting to adjust right margin/padding to avoid taskbar label overlap with other application #674

Closed Ovler-Young closed 1 month ago

Ovler-Young commented 1 month ago

mod's auther: @m417z

I've been using TrafficMonitor's Taskbar Window for a while. It's good, but when they come with the taskbar-labels, something bad will happen. There will overlap.

image

To address this, I would like to suggest adding a new setting option that allows enabling/disabling an overall right margin or padding for the taskbar labels. This would provide more control over the spacing and help avoid overlap with other taskbar elements like the TrafficMonitor window.

m417z commented 1 month ago

It looks more of a bug in TrafficMonitor. Do you see this issue without the taskbar-labels mod?

In any case, I'd rather not add a dedicated option for this very specific problem. I believe you can find a workaround by using Windows 11 Taskbar Styler, perhaps by adding extra padding or margin to the notification area or the task list.

Ovler-Young commented 1 month ago

Using Windows 11 Taskbar Styler fixed my problem! Thanks for advice! For anyone who may have similar problem: Target Microsoft.UI.Xaml.Controls.ItemsRepeater, then add the Styles Margin=0,0,355,0 (335 is the width of my condition, this value may vary accroading to the width of TrafficMonitor Taskbar Window) image image