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

macOS: add ability to make titlebar unified #3960

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

valentinegb
Copy link

  • Tested on all platforms changed
  • Added an entry to the changelog module if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
  • Created or updated an example program if it would help users understand this functionality
  • Updated feature matrix, if new features were added or implemented

Adds WindowExtMacOS::set_unified_titlebar and WindowAttributesExtMacOS::with_unified_titlebar, which allow you to use a larger titlebar style on macOS.

Without unified titlebar (default) With unified titlebar
Screenshot 2024-10-22 at 8 31 52 PM Screenshot 2024-10-22 at 8 32 23 PM

The titlebar can be made transparent and the title can be hidden and there will be extra space around the window controls.

My code is probably not perfect, I would gladly accept edits or suggestions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant