title: Python GUI frame and button layout, how to add frame and buttons to correct location?
body: <pre><code>def create_layout(frame):
  
  frame = Frame(frame, bg = 'red')
  frame.pack(side = LEFT, fill=BOTH)
  
  b = Button(frame, text='Button1', command=pressed, padx = 20)
  b.pack(pady = 20, padx = 20)
  c = Button(frame, text='Button2', command=pressed, padx=20)
  c.pack(pady = 20, padx = 20)
  </code></pre>
  
  <p>I got this code so far, assume that from Tkinter import * has already been called and the frame has already had its size and colour set. It should look like the picture below. However i can't ever get button 3 and 4 to the frame on the right, whenever i add a button it goes in the red frame.</p>
  
  <p><img src="https://i.stack.imgur.com/Y9ePg.png" alt="enter image description here"></p>