title: Tkinter label text position
body: <p>Simple question I thought I knew the answer to.  How do you make it so the text lines up on the left hand side of a label?  I have two labels on my window that I'm updating the text in the labels whenever I move the mouse, it's showing the x-y coordinates of the mouse(x position = ****** and y position = ******).  The problem is the text is bouncing on me which indicates it isn't lined up on the left hand side of the label.  I've tried anchor = 'w' but that isn't working.  The text(x position = ), x position = still bounces as I move the mouse around the screen.</p>
  
  <p>edit:</p>
  
  <p>This is used to create the window</p>
  
  <pre><code>s = Frame(self, width=150, height=20)
  s.pack_propagate(0)
  s.place(x=0,y=680)
  v = Label(s, fg='black',anchor='w')
  </code></pre>
  
  <p>This is used to update the window</p>
  
  <pre><code>v.config(text = "x-position: " + str(px),anchor='w')
  </code></pre>
  
  <p>s and v are set global</p>
  
  <p>That code doesn't anchor the text on the left of the window.  'x-position:' moves left and right around the window depending on how many numbers follow the ': '.</p>