-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hello!
I cannot set the position of the toast.
I do this:
def show_toast(self):
Toast.setPosition(ToastPosition.BOTTOM_MIDDLE) # set the position here !!?
toast = Toast(self)
toast.setDuration(5000) # Hide after 5 seconds
toast.setTitle('Success! Confirmation email sent.')
toast.setText('Check your email to complete signup.')
toast.applyPreset(ToastPreset.SUCCESS) # Apply style preset
toast.show()
What I am doing wrong?
Thank you!
EDIT:
Works on Windows10, but not on Linux! Should it work on Linux, or is there an other positioning code?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels