title: How do I change the text of a label without overlapping?
body: <p>This is part of my code:</p>
  <pre><code>def ifEnter():
      output_lab = StringVar()
      output_lab.set(&quot;Username: \nPassword: &quot;)
      output_label = Label(top, textvariable=output_lab, wraplength=400, justify=LEFT)
      output_label.place(x = 40, y = 280)
      search = search_var.get()
  
      b = 0
      for i in mydict:
          if i == search:
              b = 1
              output_lab.set(&quot;Username: {}\nPassword: {}&quot;.format(mydict[i][0], mydict[i][1]))
      if b != 1:
          output_lab.set('There is no &quot;%s&quot; in your password manager.' % search)
  </code></pre>
  <p>It is supposed to display different Labels depending on the if statements, however If I press the button that displays the labels twice with a different label I get overlaps:</p>
  <p><a href="https://i.stack.imgur.com/ZvxvJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZvxvJ.png" alt="enter image description here" /></a></p>