jaredks / rumps

Ridiculously Uncomplicated macOS Python Statusbar apps
BSD 3-Clause "New" or "Revised" License
3.09k stars 179 forks source link

When using the alert function #183

Open ohzecodes opened 2 years ago

ohzecodes commented 2 years ago

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