title: Prevent Tkinter Text widget from resizing on font change
body: <p>I tried results from other answers but that didn't solve my Problem.</p>
  <p>Here is a screenshot of my App on which I am working:
  <a href="https://i.stack.imgur.com/RkP1v.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RkP1v.png" alt="My Application" /></a></p>
  <p>There above, (the one with &gt;myIDLE text) is my Text box in disabled state.</p>
  <p>When I decrease the font and use <code>sticky=&quot;nsew&quot;</code> method, it works fine. But, when I increase the font and use the same method, something like this happens:</p>
  <p><a href="https://i.stack.imgur.com/lhcMh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lhcMh.png" alt="On Increasing Font Size" /></a></p>
  <p>How to permanently FIX the size?
  Currently I am declaring size like this:</p>
  <pre><code>from tkinter import *
  
  root = Tk()
  root.state('zoomed')
  root.title(&quot;myIDLE Window&quot;)
  root.iconbitmap(&quot;.\\resources\\images\\myIDLE.ico&quot;)
  root.resizable(0, 0)
  
  swidth = root.winfo_screenwidth()
  sheight = root.winfo_screenheight()
  
  mainf = Frame(root)
  mainf.grid(row=0, column=0, padx=5, pady=7)
  display = Text(mainf, height=int(33*(sheight/864)), width=int(112*(swidth/1536)))
  display.grid(row=0, column=0)
  root.mainloop()
  </code></pre>
  <p>I read in one answer about a similar question to use <code>.grid_propogate(False)</code></p>
  <p>I used it with following result:</p>
  <ol>
  <li>On root window: Nothing changed</li>
  <li>On Frame (<code>mainf</code>): Screen became white<a href="https://i.stack.imgur.com/tgTaG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tgTaG.png" alt="White Screen" /></a></li>
  <li>On Text Widget: Nothing Changed</li>
  </ol>
  <p>Please tell a way so I fix this problem
  Also I am sorry I cant share my full code, but pls feel free to ask any part of the code</p>