title: How to add titles to multiple OptionMenu's in tkinter?
body: <p>I have the following 3 lists:</p>
  <pre><code>owner = ['Spain', 'United Kingdom', 'Malaysia']
  phase= ['A100', 'B100', 'C100']
  machine = ['LLT', 'AAF', 'GGG', 'TGF']
  </code></pre>
  <p>With above lists I'm trying to make 3 OptionMenus, this works great. However, when I try to add titles it does not look very neat.</p>
  <p><strong>This is my code:</strong></p>
  <pre><code>window = Tk()
  window.title(&quot;Running Python Script&quot;) #Create window
  window.geometry('550x300') #geo of the window
  
  def run():
      os.system('python &quot;c:\data\FF\Desktop\PythonFolder\FF_software.py&quot;') 
  
  #The run button (this button runs some other software)
  run_button = Button(window, text=&quot;Run your Code!&quot;, bg=&quot;blue&quot;, fg=&quot;white&quot;,command=run)
  run_button.grid(column=0, row=0)
  
  #These are the option menus
  dd_owner = StringVar(window)
  dd_owner.set(owner[0]) #the first value
  
  dd_phase= StringVar(window)
  dd_phase.set(phase[0]) 
  
  dd_machine= StringVar(window)
  dd_machine.set(machine[0])
  
  w = OptionMenu(window, dd_owner, *owner)
  w2 = OptionMenu(window, dd_phase, *phase)
  w3 = OptionMenu(window, dd_machine, *machine)
  
  #These are the titles
  l1 = Label(window,  text='Select Owner', width=15 )  
  l1.grid(row=5,column=1)
  
  l2 = Label(window,  text='Select phase', width=15 )  
  l2.grid(row=6,column=1)
  
  l3 = Label(window,  text='Select machine', width=15 )  
  l3.grid(row=7,column=1)
  
  w.grid()
  w2.grid()
  w3.grid()
  
  mainloop()
  </code></pre>
  <p><strong>This is my outcome:</strong></p>
  <p><a href="https://i.stack.imgur.com/8w2iP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8w2iP.png" alt="enter image description here" /></a></p>
  <p>As you can see, it does not look very neat. The titles are above the option menus and not beside them from the left.</p>