Need help repositioning and resizing widgets with Python Tkinter grid
Question: Hi guys I was wondering if I could get some help on how to resize widgets with
.grid on tkinter. I have no clue and I've tried weight= but it doesn't do
anything.

I also need help moving the two combo boxes in my code to certain areas.
Normally the widgets are layered depending on where they are in the code but
it doesn't seem to be the case with the combo boxes. I want the first combo
box to be after the first input box and then the second box after the label
"To"

Here is the code:

    
    
    from Tkinter import *
    
    root = Tk()
    
    root.title("Currency Converter")
    root.geometry("365x436")
    root.columnconfigure(0, weight=1)
    
    app = Frame(root)
    app.grid()
    
    QuoteCurrencyConverter = Label(app, font="calibri 24 bold underline", text =     "Currency Converter")
    QuoteCurrencyConverter.grid()
    
    InputAmount = Entry(app) 
    InputAmount.grid()
    
    ComboBoxVariable = StringVar(root)
    ComboBoxVariable.set("AUD")
    
    ComboBox1 = OptionMenu(root, ComboBoxVariable, "AUD", "USD", "YEN", "CAD", "EUR", "GBP")
    ComboBox1.grid()
    
    QuoteTo = Label(app, font="calibri 24", text = "To")
    QuoteTo.grid()
    
    ComboBoxVariable1 = StringVar(root)
    ComboBoxVariable1.set("AUD")
    
    ComboBox2 = OptionMenu(root, ComboBoxVariable1, "AUD", "USD", "YEN", "CAD", "EUR", "GBP")
    ComboBox2.grid()
    
    ConvertButton = Button(app, font="calibri 13 bold", text = "Convert")
    ConvertButton.grid()
    
    DisplayAmount = Entry(app) #CURRENTLY UNSURE#
    DisplayAmount.grid()
    
    ResetButton = Button(app, font="calibri 13 bold", text = "Reset")
    ResetButton.grid()
    
    root.mainloop()
    


Answer: The `tkinter.grid` arranges the widgets in a form of rows and columns. What
you said about adding widgets where they appear in the code is incorrect. The
`grid` function has 2 optional parameters - `row` and `column`. Perhaps the
names are enough to make you understand their use. But let me tell you. Both
of them must be positive integers. Now set the row and column accordingly like
in Microsoft Excel though both must be integers. Now if you mean to resize
them, use the `rowspan` and `columnspan` attributes.

Example:

`frame.grid(row=3, column=4, rowspan=4, columnspan=2)`

