madskristensen / SolutionColors

A Visual Studio extension
Apache License 2.0
77 stars 11 forks source link

Feat: Support VS2022 Preview new UI #31

Closed HO-COOH closed 9 months ago

HO-COOH commented 9 months ago

This closes #29

I compared the visual trees between 2022 preview (left) <--> 2022 non-preview. image

They renamed the Border control, and we cannot use the ControlBorder as the name to find it because there are tons of other borders named the same. The solution is simply find the uniquely-named part, then get its parent.

2022 release ver: image

2022 preview: image

madskristensen commented 9 months ago

Awesome. Thank you!

xprzemekw commented 9 months ago

I think it breaks in VS 17.8.2

HO-COOH commented 9 months ago

@xprzemekw Works on my machine. Do you have a reproduce? If so, make another issue image

xprzemekw commented 9 months ago

Fair enough, will double check and raise issue if need be, thanks.

@xprzemekw Works on my machine. Do you have a reproduce? If so, make another issue image