ui icon indicating copy to clipboard operation
ui copied to clipboard

Can you create Window center func ?

Open miajio opened this issue 4 years ago • 1 comments

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

miajio avatar Dec 02 '20 08:12 miajio

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

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

phaus avatar Dec 02 '20 09:12 phaus