Skip to content
Discussion options

You must be logged in to vote

Not necessarily "do not use it", but I would treat tk.Menu as a compromise in a CustomTkinter app.

tk.Menu is still the native Tk menu. It is not drawn by CustomTkinter, so it does not follow CustomTkinter's widget scaling or theme styling the same way CTk widgets do. If a native OS-style menu is acceptable, it is fine to keep using it. If you want the menu to visually match the rest of the CTk UI across display/DPI settings, a CTk-based menu/menubar will usually behave more consistently.

The opposite-looking scaling is expected on Windows. When automatic DPI awareness is disabled, Windows can bitmap-scale the whole app, so the native menu may look bigger. When CustomTkinter enables DPI a…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@limafresh
Comment options

@kalyanamdewri
Comment options

Answer selected by limafresh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants