-
Notifications
You must be signed in to change notification settings - Fork 272
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
TTL title bar should follow Windows colors #879
Comments
Does it make a difference if installing vs. building locally? |
I don't think it does. |
Found a way to do a very VSCode-like title bar without any extensions: https://github.com/binaryfunt/electron-seamless-titlebar-tutorial |
Hello, If this issue is still open, I would like to take a crack at it (as it'd be my first issue with an open-source project). |
Thanks @The-Gammelier, just assigned it to you. Feel free to ask us if any questions come up. |
I have run into a couple issues. When running npm run lint-fix, I get an error for css/styles.css: The first three are from following the tutorial, the last one is from previously existing code. Next up, I have successfully implemented a custom title bar and working buttons, however setting the BrowserWindow frame to false removes the menu options from the window. I am unsure how to get those back while keeping the new custom title bar. Finally, when scrolling down in the app, the month display will overflow onto the new title bar. I am also unsure how to fix that. |
When looking for solutions to the above issues, I've found an article about electron being able to use light/dark/system settings natively. This may be a possible solution rather than making a custom title bar, however this is my first time working with electron and I'm not quite sure how to go about implementing this to see if it would work as the app checks for themes in several files/functions. |
I've figured out a solution to the table-header overtaking the custom title bar. I'm still working on how to get the menu options to come back up. |
The tutorial is not really clear on the automatic opt-in for native interfaces. Perhaps it's only for MacOS? |
Maybe there's a java script event being triggered that removes the menu options? You could try playing around with the watcher and debugger in DevTools. |
Hi, is anyone still working on this issue? I would like to give this a try. |
I don't think anyone is @iknowtalha , feel free to take it. |
ok |
Hello, is anyone still working on this issue? 20230427_172216.mp4 |
I don't think anyone is working on it @teezBlaze |
@tupaschoal Then, please do assign this to me. |
Now have to bring back the menu bar. Before that I have few questions. 1. Where should I add the title bar codes?Currently I added the codes in a titleBar.js file and added the script tag directly into the index.html. See the below image for reference. |
Is this issue open? if yes I would like to take it. Since it is my first time contributing to open source. |
If this issue is still open, I would love to work on it. I have recently started contributing to open source. |
Hi, this is being handled in #1080. Thanks anyway! |
Describe the current limitation
The TTL title bar is currently still white, while my App and system is in Dark mode. It would be great to have it also follow Windows colors like other native apps do.
If it matters, I installed using the stable .exe instead of the .msi as it didn't work.
Version: 2.0.1
Electron: 11.1.1
Chrome: 87.0.4280.88
Node.js: 12.18.3
OS: Windows_NT ia32 10.0.22623
The text was updated successfully, but these errors were encountered: