-
Notifications
You must be signed in to change notification settings - Fork 240
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
Implement dark mode for window title frame on Windows and Linux #699
Comments
Just to confirm, I changed all the colours in theme.txt to yellow, and the run window title is still white. |
I have taken a look at this. Of relevance is the FlatLaf macOS page, which has been the guide for the experimentation which follows. Dark Window Title Bar - Unsuccessful AttemptMy first thought was to attempt to use a dark window title bar. The section titled "Appearance of window title bars" gives instructions for this. Seemingly, using However, I did not have any success. My attempted modification added the suggested line in tl:dr; I tried to make the title bar dark by adding Transparent title bar - Some SuccessA further section in the FlatLaf guide mentions transparent title bars, so I tried to implement that. In However, enabling full window content in conjunction with making the title bar transparent did lead to a change! This involved having the additional Using the bottom-left dark theme, here is what a Processing window usually looks like: And both full window content and a transparent title bar on my current experimental build: This seems quite promising to me, and I hope you will agree! That being said, there are two immediate issues that I see with this:
There may be multiple ways of fixing the first issue. The one which seems the least disruptive to me is to shift the entire UI down as if full window content were not enable; after all the sole reason I enabled it was because it seemingly was necessary to make the transparent title bar work. That being said, I think there is a definite point to made about maximising the usage of vertical screen space. I have often found myself wishing that I could fit more lines of code into the Processing editor, and have been frustrated that the top and bottom UI elements take up much of it. For the second point about the title being illegible, this should be fairly easy to fix. That being said, perhaps there are accessibility reasons to want to want to maintain macOS default UI elements such as the title bar. Perhaps pushing simply for a dark mode title bar after all is better. This is the progress I have made so far on this issue. I have published my changes in a fork. |
Thanks for looking into it! The trick is that Now changing the issue title to be specific to Windows and Linux since it's now resolved for macOS. |
Description
Hi all! I'm not sure if this is the right place.
In short, I'd like to see an option to change the windows title frame color to a dark or custom one.
As far I know, themes cannot change the default white color of the window title, it seems to be the only element which color cannot be changed. I'd like to have an option to change it to match the OS dark mode, but I'm not sure how hard could it be to implement it.
Thank you! <3
Current Behavior
I don't find this option, the
Your Environment
The text was updated successfully, but these errors were encountered: