How to custom the Windows title? #2137
Answered
by
yantze
mister-teddy
asked this question in
Q&A
-
How can I custom the editor title like this: Thank you very much for such an amazing open source project 🙏 |
Beta Was this translation helpful? Give feedback.
Answered by
yantze
Dec 28, 2022
Replies: 1 comment 1 reply
-
You can format the titlebar by getting an instance of IElectronHeaderService: injector.get(IElectronHeaderService).titleTemplate = '${activeEditorShort}${separator}${rootName}' more info: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mister-teddy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can format the titlebar by getting an instance of IElectronHeaderService:
more info:
core/packages/electron-basic/src/common/header.ts
Line 23 in 742d745