title: Having trouble with resizing multiple grids
body: <p>I have the following code. My problem is that I can't manage to resize properly the frames. When I run the program, everything is as expected. But when I resize it, I want to keep the original view.</p>
  
  <pre><code>from Tkinter import *
  import os
  import sys
  
  
  ALL=N+S+E+W
  
  class Application(Frame):
  
      def __init__(self,master=None):
          Frame.__init__(self,master)
          self.master.rowconfigure(0,weight=1)
          self.master.columnconfigure(0,weight=1)
          self.grid(sticky=ALL)
  
          self.rowconfigure(0,weight=1)
          myframe1=Frame(self,bg='green')
          myframe1.bind("&lt;Button-1&gt;",self.handler1)
          myframe1.grid(row=0,column=0,rowspan=1,columnspan=2,sticky=ALL)
          self.rowconfigure(1,weight=1)
          myframe2=Frame(self,bg='blue')
          myframe2.bind("&lt;Button-1&gt;",self.handler2)
          myframe2.grid(row=1,column=0,rowspan=1,columnspan=2,sticky=ALL)
  
  
          buttons=('Red','Blue','Green','Black')
          button=[0]*4
          for c in range(4):
              self.rowconfigure(c+2,weight=1)
              self.columnconfigure(c,weight=1)
              button[c]=Button(self,text="{0}".format(buttons[c]),command=lambda     x=buttons[c]:self.colors(x))
              button[c].grid(row=2,column=c,sticky=E+W)
  
          self.columnconfigure(4,weight=1)
          self.rowconfigure(6,weight=1)
          button1=Button(self,text='{0}'.format('Open'),command=self.content)
          button1.grid(row=2,column=4,sticky=E+W)
  
  
          f=Frame(self,bg='red')
          self.myentry=Entry(f)
          self.myentry.grid(row=0,column=4,sticky=ALL)
          self.text=Text(f)
          self.text.grid(row=1,column=4,sticky=ALL)
          f.grid(row=0,column=2,rowspan=2,columnspan=3,sticky=ALL)
  
          ...
  </code></pre>
  
  <p>I tried many combinations of <code>rowconfigure</code>, <code>columnconfigure</code>, <code>rowspan</code>, <code>columnspan</code>, but I failed!</p>
  
  <p>My original view is:</p>
  
  <p><img src="https://i.stack.imgur.com/YRicr.png" alt="enter image description here"></p>
  
  <p>After resizing in one direction:</p>
  
  <p><img src="https://i.stack.imgur.com/7X2bU.png" alt="enter image description here"></p>
  
  <p>In another direction:</p>
  
  <p><img src="https://i.stack.imgur.com/RBzg8.png" alt="enter image description here"></p>
  
  <p>The white area is the <code>Text</code> widget which I want to be resizable (also the blue and green areas).</p>