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

Can you create Window center func ? #392

Open
miajio opened this issue Dec 2, 2020 · 1 comment
Open

Can you create Window center func ? #392

miajio opened this issue Dec 2, 2020 · 1 comment

Comments

@miajio
Copy link

miajio commented Dec 2, 2020

this pkg all ui not set fixed position
be aimed at ui create position user experience is very bad
my boss look the ui very angry
omg I don't know other golang ui pkg
It's so hard for me

@phaus
Copy link

phaus commented Dec 2, 2020

The thing is: you have to implement this behavior for each platform itself.
For MacOS it can be done like this: mojbro/gocoa@6b4e3a0#diff-e5034ee93d5b1809b8008df39ab4eda1b3620bf956dec3c6a8a539ac46d0d62f

If you want to save the window position somehow, it is additional effort to do so.
Which platform do you target?

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

No branches or pull requests

2 participants