cmdCompass icon indicating copy to clipboard operation
cmdCompass copied to clipboard

Top level windows should be centered reletive to the application's main window.

Open johnwangwyx opened this issue 1 year ago • 4 comments

Good First Issue for people with some experience with the tkinter module. (Note customtkinter module used here is based on tkinter so you can still call <top_window>.geometry() or other functions just like in tkinter)

We have below top-level windows image

They are currently opened from fixed positions on the screen and are not necessarily close to the application's main window (especially if the user moved the application window to another position on the screen after it is launched). We want to open them from positions relative to the main window.

image

johnwangwyx avatar Jun 06 '24 05:06 johnwangwyx

If this isn't already addressed in the new release, I'd be happy to work on this as well!

DCRepublic avatar Oct 12 '24 14:10 DCRepublic

Sure, please go ahead.

Thanks!

johnwangwyx avatar Oct 13 '24 08:10 johnwangwyx

Started with this!

https://github.com/johnwangwyx/cmdCompass/pull/6

DCRepublic avatar Oct 15 '24 04:10 DCRepublic

Hi,

I have resolved this issue and submitted a pull request #7. Can you review and merge it at your convenience? This will be a great inspiration to me

Thank you for your time and assistance!

Best regards, ylers

ylers avatar Mar 15 '25 08:03 ylers