Repository navigation
Replies: 3 comments 1 reply
|
Now I know it's linked to columns as I expected. I don't understand how it works, and I managed to find a workaround, but I'm quite sure it's not the right way to do, since sometimes some icons are out of position when opening app for the first time. For now I use this: |
|
You're right that it's the column. The crop comes from the width of the icon column inside Grid#IconPanel, not from the Image#Icon or the panel itself. The taskbar sets that column's width itself (TaskListButton::UpdateIconColumnDefinition), from the taskbar button width minus the button's padding. The button width is the MediumTaskbarButtonExtent value, 44 px by default. So if you raise Icon size to 48 or 64 but leave Taskbar button width at 44, the column ends up narrower than the icon and the right side gets clipped. The Start button isn't a TaskListButton, so it doesn't go through that code, which is why it isn't cropped. That's also why ColumnDefinitions:= helps: it swaps the fixed-width column for one that fills the panel. But the taskbar rewrites the column whenever it updates a button, so the two end up fighting. That would explain icons sometimes being out of place when an app first opens. The cleaner fix is in Taskbar height and icon size itself: raise Taskbar button width together with Icon size. The mod writes that setting into the same MediumTaskbarButtonExtent field, so the taskbar computes a wide enough column on its own, and that part of the mod isn't limited to horizontal taskbars. Keeping the stock ratio (a 24 px icon in a 44 px button, so about 20 px more than the icon): 48 px icons → Taskbar button width 68 Then remove the ColumnDefinitions style from Taskbar Styler so nothing overrides the column. I worked this out from the mod's source (v1.3.11) and haven't tried it on a vertical taskbar myself. If the button width also spreads the buttons out more than you want, lower it a few pixels at a time until the crop just disappears. If it's still cropped at those values, let me know. |
|
Unfortunately it didn't work, changing "Taskbar button width". Finally, I've found something in some themes, and I applied it and now it works without problem (not sure it's perfect though): |
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to use the new Windows Vertical taskbar (26H2 or 25H2 with latest featured flag enabled).
With "Taskbar height and icon size" mod, I manage to have icons with bigger size (and not blurred).
But icons are cropped on the right.
I've tried several things with taskbar styler but is is still cropped.
Taskbar.TaskListButton > Windows.UI.Xaml.Controls.Grid > Windows.UI.Xaml.Controls.Image#Icon
is 48x48 but icon is cropped on the right, like if there was an invisible limit preventing it from being visible past this "barrier".
Maybe there's some kind of columns properties that I don't understand which need to be changed. If someone can help.
Windows.UI.Xaml.Controls.Grid#IconPanel
(the parent) is 64x64 so large enough.
Taskbar.TaskbarFrame#TaskbarFrame
is 64 px width too
With UWPSpy we can see there's enough place inside #icon selector:
Problem enhanced with 64 px width icons (Notice how Windows icon is not cropped):
All reactions