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

When using the alert function #183

Open
ohzecodes opened this issue Apr 8, 2022 · 0 comments
Open

When using the alert function #183

ohzecodes opened this issue Apr 8, 2022 · 0 comments

Comments

@ohzecodes
Copy link

ohzecodes commented Apr 8, 2022

Hi,
I get this warning when trying to use the alert function.

Warning Message:

Python[11070:589225] Warning: Expected min height of view: (<NSButton: 0x7ff0c0671360>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.

Steps to reproduce

@rumps.clicked("animal")
def find(self,_):
rumps.alert("Your animal is " , "Cheetah")

it would better to let the user decide what to set as width and height

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

1 participant