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

How to Move/Position Window Buttons on macOS? #62

Open
wottpal opened this issue Apr 26, 2021 · 14 comments
Open

How to Move/Position Window Buttons on macOS? #62

wottpal opened this issue Apr 26, 2021 · 14 comments
Labels
work in progress This is currently being implemented

Comments

@wottpal
Copy link

wottpal commented Apr 26, 2021

Hey, first thanks for this great package and your effort!

How can I achieve moving the window-buttons on macOS with your plugin? I would like them to be a little bit more to the right & the bottom (see attached screenshot).

Artboard

@wottpal
Copy link
Author

wottpal commented Apr 28, 2021

@bitsdojo would be great to get a little hint here :) thanks in advance!!

@wottpal
Copy link
Author

wottpal commented May 4, 2021

@bitsdojo You would make my day by helping me out 🙃

@tomassasovsky
Copy link

Hey. Try wrapping the widgets in a container and adding a margin.

@wottpal
Copy link
Author

wottpal commented May 4, 2021

I tried doing that first but unfortunately, the macOS window buttons are not part of the widget tree but added through swift/objective-c instead..

@wolfenrain
Copy link

Atm you can't do that using the plugin, I assume this is because macOS does not allow, or not easily allow to hide window buttons.

@wottpal
Copy link
Author

wottpal commented May 13, 2021

Does anybody have enough Swift/Objective-C/macOS experience to tell me how to do so manually via Xcode :) Would be awesome

@bitsdojo
Copy link
Owner

This is on my list. Just need to find some time after work to implement it.

@esDotDev
Copy link
Contributor

esDotDev commented May 13, 2021

So just to confirm, the current recommended implementation is to show MinimizeWindowButton/MaximizeWindowButton/CloseWindowButton on Linux/Windows, but on MacOS, we just leave a gap in place for the native ones to render?

@bitsdojo
Copy link
Owner

@esDotDev yes, that is the currently recommended implementation.

Ability to move/position window buttons on macOS is also coming with the next update.

@nirmalsingnegi
Copy link

How long this is gonna take @bitsdojo.

@ashish007ratz
Copy link

waiting since months still no update .

@appinteractive
Copy link

@bitsdojo bump 💯

@shi-yang
Copy link

shi-yang commented Mar 6, 2023

Any updates?

Same issue to me: #111 .

I finally solved the problem by following these steps: https://medium.com/flutter-community/transparent-title-bar-on-macos-with-flutter-7043d44f25dc

image

Now its working for me.

@hieplee2997
Copy link

@bitsdojo any updates after 2 year ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
work in progress This is currently being implemented
Projects
None yet
Development

No branches or pull requests

10 participants