Python Tkinter grid.forget() / Window resize
===

I am making a window that switches frames when you click a label. the first frame i pack works fine, but when i try to switch frames the frame re-sizes itself so i cant see the frame. i dont know if self.resizable(0,0) has anything to do with it or if its the way i am packing them.



	from Tkinter import *
	class test(Tk):
		def __init__(self):
			Tk.__init__(self)
			self.resizable(0,0)
			
			self.create_widgets()
			
			self.mainloop()
			
		def create_widgets(self):
			#Frames
			self.panel_frame = Frame(self,bg='green')
			self.frame1 = Frame(self,bg='red')
			self.frame2 = Frame(self,bg='red')
			
			#Panel Frame
			self.edit_label = Label(self.panel_frame, text='Edit', borderwidth=1, relief=FLAT, width=20)
			self.add_label = Label(self.panel_frame, text='Add', borderwidth=1, relief=FLAT, width=20)
			self.add_label.bind('<Button-1>', self.pack_frame1)
			self.edit_label.bind('<Button-1>', self.pack_frame2)
			
			#Frame 1
			self.btn1 = Button(self.frame1, text='Btn 1')
			self.label1 = Label(self.frame1, text='Label 1')
			self.entry1 = Entry(self.frame1)
			
			#Frame 2
			self.btn2 = Button(self.frame2, text='Btn 2')
			self.label2 = Label(self.frame2, text='Label 2')
			self.entry2 = Entry(self.frame2)
			
			
			self.pack_widgets()
		
		def pack_widgets(self):
			#Frames
			self.panel_frame.grid(row=0)
			
			#Panel Frame
			self.add_label.grid(row=0,column=0)
			self.edit_label.grid(row=0,column=1)
		
		
		def pack_frame1(self,event):
			try:
				self.frame2.grid_forget()
			except:
				pass
			self.frame1.grid(row=1,sticky=E+W)
			self.btn1.grid(row=1,column=2)
			self.label1.grid(row=0,column=0)
			self.entry1.grid(row=1,column=0)
			
			
		def pack_frame2(self,event):
			try:
				self.frame1.grid_forget()
			except:
				pass
			self.frame2.grid(row=1,sticky=E+W)
			self.btn2.grid(row=1,column=2)
			self.label2.grid(row=0,column=0)
			self.entry2.grid(row=1,column=0)
			
			
			
			

	test = test()
			