Open Archertheone opened 4 months ago
ttkbootstrap Version: 1.10.1 OS:windows 10
I tried to run the following demo code in a jupyter notebook:
import ttkbootstrap as ttk from ttkbootstrap.constants import * root = ttk.Window() b1 = ttk.Button(root, text="Solid Button", bootstyle=SUCCESS) b1.pack(side=LEFT, padx=5, pady=10) b2 = ttk.Button(root, text="Outline Button", bootstyle=(SUCCESS, OUTLINE)) b2.pack(side=LEFT, padx=5, pady=10) root.mainloop()
It works well in the first run:
However, after I click the close button and rerun the demo, the buttons lost their styles.
No response
Desktop (please complete the following information):
ttkbootstrap Version: 1.10.1 OS:windows 10
Describe the bug
I tried to run the following demo code in a jupyter notebook:
It works well in the first run:![first_run](https://github.com/israel-dryer/ttkbootstrap/assets/13363120/67d5c21c-7cb6-4428-9565-7e3d2971f4dc)
However, after I click the close button and rerun the demo, the buttons lost their styles.![second_run](https://github.com/israel-dryer/ttkbootstrap/assets/13363120/d844a545-fec7-4efa-95f9-22cda4a7abdd)
To Reproduce
No response
Expected behavior
No response
Screenshots
No response
Additional context
No response