title: Can I set the label position in the canvas line (tkinter)?
body: <p><a href="https://i.stack.imgur.com/IcFbJ.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>I want to take time (00:00) in to canvas line (rectangle).
  I think i should set position of label to right way,but it not work.</p>
  <pre><code>from tkinter import *
  import tkinter as tk
   
  root = tk.Tk()
  canvas = Canvas(width=600, height=180, bg='white')   
  canvas.pack(expand=YES, fill=BOTH)     
  root.geometry(&quot;605x182&quot;)          
  root.title(&quot;display&quot;)    
  #root.resizable(False, False)
  
  status = Label(canvas, text='Status : ', fg='white', bg='#213058')
  status.pack(anchor=&quot;w&quot;,padx=3, pady=3)
  
  line = canvas.create_line(3, 0, 3, 90, fill=&quot;#213058&quot;, width=5)
  line = canvas.create_line(3, 3, 600, 3, fill=&quot;#213058&quot;, width=5)
  line = canvas.create_line(600, 0, 600, 90, fill=&quot;#213058&quot;, width=5)
  line = canvas.create_line(2, 90, 600, 90, fill=&quot;#213058&quot;, width=5)
  
  time = Label(canvas, text='Time : ', fg='white', bg='#213058')
  time.pack(anchor=&quot;w&quot;,padx= 229,pady=61)
  line = canvas.create_line(230, 90, 230, 177, fill=&quot;#213058&quot;, width=5)
  line = canvas.create_line(228, 177, 603, 177, fill=&quot;#213058&quot;, width=5)
  line = canvas.create_line(600, 177, 600, 90, fill=&quot;#213058&quot;, width=5)
  
  showtime = Label(canvas, text='00:00', fg='white', bg='#213058')
  showtime.pack(anchor=&quot;w&quot;,padx= 0,pady=0)
  
        
  mainloop()
  </code></pre>
  <p>this is my code.</p>
  <p>i don't know how to fix it. please help me.</p>
  <p><strong>thank you very much.</strong></p>