Change width of dropdown listbox of a ttk combobox
<p>I am trying to change to width of the popdown list of the ttk Combobox. Setting the width of the Combobox also changes the width of the Listbox, making part of the values unreadable.</p>

<p>I read <a href="https://stackoverflow.com/questions/17588455/tcl-tk-lstbox-width-in-combbox/20031800#20031800">this solution</a> in Tk/Tcl but I am not familiar with this language and would like to solve the problem with Python. I tried changing the theme parameters but it does not seem to help. Below is a piece of sample code.</p>

<pre><code>import tkinter as tk
from tkinter import ttk

root = tk.Tk()
root.title("testing the combobox")
root.geometry('300x300+50+50')
fruit = ['apples are the best', 'bananas are better']

c = ttk.Combobox(root, values=fruit, width=10)
c.pack()

# Trying to change the width, does not work
c.option_add("*TCombobox*Listbox*Width", 50)

root.mainloop()
</code></pre>

<p>Anyone here that can help me out or give me some pointers?</p>