easygui icon indicating copy to clipboard operation
easygui copied to clipboard

Button text not appearing until window is resized on MacOS

Open ndrake opened this issue 6 years ago • 0 comments

When using easygui enterbox and passwordbox , the button text does not appear until the user resizes the window.

This seems to be a tkinter issue, see here: https://stackoverflow.com/questions/52529403/button-text-of-tkinter-not-works-in-mojave/

The above posts includes a hack to fix it, by programmatically resizing the root window. I'm not sure how to accomplish this when using easygui components.

Anyone know of a workaround or if there is a way to fix this?

Here is a test program to demonstrate the issue:

import easygui
easygui.passwordbox(
    msg="Enter Password",
    title='Button Test')

Here are my relevant system details:

  • macOS 10.14.6
  • Python 2.7.15
  • easygui 0.98.1

Here is a screenshot of the issue:

Screen Shot 2019-09-04 at 7 52 27 PM

ndrake avatar Sep 05 '19 00:09 ndrake