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 hide titlebar #571

Closed
vanlooverenkoen opened this issue Sep 23, 2019 · 3 comments
Closed

MacOs hide titlebar #571

vanlooverenkoen opened this issue Sep 23, 2019 · 3 comments

Comments

@vanlooverenkoen
Copy link

How can I hide the titlebar of the macOS. and use custom close, minimize, maximize buttons.

Current situation
image

The ultimate sollution:
image

@stuartmorgan
Copy link
Collaborator

Please use the mailing list, not the issue tracker, for questions.

If you want a non-standard window you need to alter its properties in the XIB, and/or add code to MainFlutterWindow.swift. There's nothing Flutter-specific about the window, so it would be the same process as doing it in a non-Flutter project.

@guidezpl
Copy link
Member

guidezpl commented May 7, 2020

Echoing Stuart's comment. Though, since this took me a bit of time to figure out, I'll add that 4 options need to be selected in MainFlutterWindow.swift.

Screenshot 2020-05-07 at 13 08 56

Result:
Screenshot 2020-05-07 at 13 09 05

@silverhairs
Copy link

Is there a way of doing this on Linux ?

@google google locked and limited conversation to collaborators Oct 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants