israel-dryer / ttkbootstrap

A supercharged theme extension for tkinter that enables on-demand modern flat style themes inspired by Bootstrap.
MIT License
1.78k stars 358 forks source link

ScrolledText: autohide and bootstyle "gone" Python 3.11, ttkbootstrap-Version: 1.10.1 #541

Closed Dirki74 closed 4 months ago

Dirki74 commented 4 months ago

Desktop (please complete the following information):

ttkbootstrap-Version: 1.10.1 Windows 10

Describe the bug

the autohide and bootstyle-Functions are not longer available. :(

To Reproduce

text1 = tb.ScrolledText(root, width=70, height=10, wrap="word",
autohide=True )

Expected behavior

hide the Scrollbars

Screenshots

File "C:\Users\User\Downloads\Python\eigenes\test\ttk-bootstrap-Kurs\test.py", line 14, in text1 = tb.ScrolledText(root, ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\tkinter\scrolledtext.py", line 27, in init Text.init(self, self.frame, *kw) File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\style.py", line 5169, in initwrapper func(self, args, **kwargs) File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\tkinter__init.py", line 3615, in init Widget.init(self, master, 'text', cnf, kw) File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\tkinter\init.py", line 2628, in init__ self.tk.call( _tkinter.TclError: unknown option "-autohide"

Additional context

No response

Dirki74 commented 4 months ago

My fault