-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Custom Titlebar with navite Window-Controls (like in Electron) [feat] #9458
Comments
With GTK in Linux/Unix the use of |
For what it's worth, I followed this tutorials for a custom title bar and it worked fine. See screenshot below. |
@yemikudaisi my problem with this solution is, the Window-Controls does not follow the system Theme on Linux and other platforms. |
Would be neat to have a custom title bar with the native behaviour without a complete workaround on each OS just like Electron provides. |
It's also ok to just have the same behavior as the native once, but it should use the system theme on Linux and other platforms. And it should be an official implementation like in Electron |
Describe the problem
May modern apps have content on the same level as the Window-Controls, like in GNOME or Windwos 11.
GNOME Settings:
Windwos 11 file explorer;
Describe the solution you'd like
A good solution already exists in ElectronJS with the Window-Controls-Overlay-API for JavaScript and the CSS-Environment-Variables
https://github.com/WICG/window-controls-overlay/blob/main/explainer.md
https://www.electronjs.org/docs/latest/api/browser-window#winsettitlebaroverlayoptions-windows-linux
Alternatives considered
There is already tauri-controls, but this just native-looking Window-Controls and not change with the GTK-Theme
Additional context
No response
The text was updated successfully, but these errors were encountered: