-
Notifications
You must be signed in to change notification settings - Fork 1
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
Toggle button missaligned #14
Comments
I can't reproduce the issue. Your style configuration is missing the backslashes in xaml targeting, as in when using brushes, so I had to add those in myself to test your config. here's your cleaned up config:
Once I got your config to work, I didn't see anything misaligned but I'll have to try it again tomorrow on the pc with wifi |
Indeed sorry, I pasted the json in a "quote" block in the github comment and it formated it removing the backslaches, my bad. Should have pasted it like a code block. Will edit the original issue message.
Let me know if you can reproduce this |
ohhh that's why that keeps happening! ok cool now I have an explanation :) So yes, I am able to reproduce this on 22631, and additionally it happens without any targets or styles set, but not with the mod disabled. I can trigger the issue by killing shellexperiencehost.exe (shellhost.exe on 24h2) |
Looks like it's a side effect of the XAML Diagnostics API, I can reproduce it with just UWPSpy. XAML Diagnostics cause some unpleasant side effects sometimes, and this one isn't the worst, for the taskbar it causes crashes in some cases, which is unfortunate. I don't plan on trying to fix it. I tried to find a workaround for the taskbar crashes, but gave up after some time due to its complexity. For this specific issue, if it bothers you, I suggest to just create a style that fixes it, it shouldn't be difficult. |
I've been messing around a bit with UWSpy, I settled in adding the following to my style:
I don't know if this is the best solution but it seems to work. There is still something weird going in on where the switch itself is not entirely the same the first time, the border is a bit wider and the knob is smaller. Though position is fixed. |
@Nicols0Mart |
Hello there, I have a problem where the toggle buttons of the wifi and bluetooth submenus in the action center are misplaced the first time I open them. I'm using Windows 24H2 build 26100.2152.
Here you can see how they render misplaced to the left:
Still, when closing and reopening the submenu, the toggle renders correctly the second time as shown below:
The following is my configuration for the mod:
The text was updated successfully, but these errors were encountered: