tkinter optionmenu swapping place
<p>After googling and searching in SO, I come here.</p>

<p>I am making a program, but when I run it, the optionMenu widgets go to the end of the display, despite being set on the grid on the program. Here's a relevant example:</p>

<pre><code>from tkinter import *  


root=Tk()  
root.title("Generador documentos")  


app=Frame(root)
app.grid()



sexoPat=Label(app, text ="Gender")  
sexoPat.grid(row=0,column=0)  
var1 = StringVar()  
sexoPatDrop= OptionMenu(root,var1,'Male','Female')  
sexoPatDrop.grid(row=1,column=0)  
sexoPatCheck=var1.get()


nombPat=Label(app, text ="name here")  
nombPat.grid(row=2,column=0)  
nombPatTXT=Entry(app)  
nombPatTXT.grid(row=3,column=0)  
</code></pre>