Skip to content
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

how to modify devtools UI font? #244

Open
Wangxin666888 opened this issue Apr 6, 2024 · 3 comments
Open

how to modify devtools UI font? #244

Wangxin666888 opened this issue Apr 6, 2024 · 3 comments
Labels
bug Something isn't working tracked This issue is now tracked on our internal backlog

Comments

@Wangxin666888
Copy link

Wangxin666888 commented Apr 6, 2024

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

@Wangxin666888 Wangxin666888 added the feedback Feedback about an existing DevTools feature label Apr 6, 2024
@captainbrosset
Copy link
Contributor

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
Copy link
Author

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 captainbrosset added bug Something isn't working tracked This issue is now tracked on our internal backlog and removed feedback Feedback about an existing DevTools feature labels Apr 9, 2024
@captainbrosset
Copy link
Contributor

Thank you for the additional investigation details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tracked This issue is now tracked on our internal backlog
Projects
None yet
Development

No branches or pull requests

2 participants