israel-dryer / ttkbootstrap

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

Not forwarding keyword arguments in InfoBox-Dialog #398

Closed aDramaQueen closed 1 year ago

aDramaQueen commented 1 year ago

Desktop (please complete the following information):

ttkbootstrap Version: 1.10.0 OS: Windows/Ubuntu/Mint

Describe the bug

You forgot to forwoard the kwargs in the Messagebox.show_info(...) function.

To Reproduce

root = Window()
text = 'Vvvvvvveeeeeeeeeeerrrrrrrryyyy llloooooonnnnnngggg ttteeeeeexxxxxxttttttttttt'
Messagebox.show_info(text, 'Some title', root, False, width=300)
root.mainloop()

Expected behavior

A Dialog Box with width of 300

Screenshots

grafik

Additional context

No response

israel-dryer commented 1 year ago

This is fixed. The thing to note is that the width is in character width. So, 300 would be 300 characters wide.