Working on the updated ToastNotification #804
Replies: 5 comments 1 reply
-
|
With action buttons.
|
Beta Was this translation helpful? Give feedback.
-
|
@israel-dryer
To be honest I am not a UI designer, so there are things I do not notice unless this was mentioned or pointed out. :D
|
Beta Was this translation helpful? Give feedback.
-
|
With alternate background colors
|
Beta Was this translation helpful? Give feedback.
-
|
message only
|
Beta Was this translation helpful? Give feedback.
-
|
text wrapping
|
Beta Was this translation helpful? Give feedback.






Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently working through the updates to the custom widgets. One of those is the toast notification. The current version 1 implementation is a very much a "Windows" style. In version 2, I'm trying to move the visuals to a more universal bootstrap look and feel.
What do you think so far on this one? Still working on the scaling. So, things will likely change in the final form. But, this will generally be the look I'm working for.
The great thing about this new implementation is that you'll have access to actual icons instead of just font characters.
ttkbootstrap implementation
bootstrap (from the website example)
This is the actual toast from the bootstrap website for comparison:
Styling
You'll noticed that I've got rounded edges on the toplevel after stripping off the chrome. This was accomplished with a bit of a hack that is mostly effective. I've created a custom layout for the frame, and then I've set the background to magenta. I've also set the background of the toplevel to magenta and then set that as the transparent color. This works more-or-less. It's not perfect, but not too bad either for tkinter. The option to use rounded corners will likely be an option I'll expose in the constructor.
Beta Was this translation helpful? Give feedback.
All reactions