MicrosoftEdge / DevTools

Feedback and discussions about Microsoft Edge Developer Tools
MIT License
151 stars 49 forks source link

how to modify devtools UI font? #244

Open Wangxin666888 opened 3 months ago

Wangxin666888 commented 3 months ago

As the picture show 20240406125103

I use devtools in microsoft webview2 control in my wpf app.

how can I modify the font family to Consolas?

Thanks!

AB#50060456

captainbrosset commented 3 months ago

Thanks for reaching out. I'm not sure there's a way to change the font that's used in DevTools. It looks to me like DevTools is using the font that's normally used to render Chinese characters, except that here, everything is displayed in in English. And it's weird that the tabs don't use the same font.

Wangxin666888 commented 2 months ago

Thanks for reaching out. I'm not sure there's a way to change the font that's used in DevTools. It looks to me like DevTools is using the font that's normally used to render Chinese characters, except that here, everything is displayed in in English. And it's weird that the tabs don't use the same font.

It seems that the font used here is according to the version of WebView2 Runtime.

Above pic. was shown in version 123.0.2420.81.

But when I back to version 122.0.2365.92, all is shown as my expected. 20240409171936

captainbrosset commented 2 months ago

Thank you for the additional investigation details.