modified: ri_inst_tk.py
updata tk display
This commit is contained in:
@@ -70,10 +70,10 @@ txt_suboperation=Text(root,width=100,height=10)
|
||||
|
||||
#operation lable and taskname
|
||||
lab_task.grid (row=1, column=0, sticky='E')
|
||||
lab_operation.grid (row=1, column=1, sticky='')
|
||||
lab_operation.grid (row=1, column=1)
|
||||
txt_suboperation.grid(row=2, column=1)
|
||||
lab_progress_bar.grid(row=3, column=0)
|
||||
lab_linx.grid (row=4, column=1, sticky='')
|
||||
lab_progress_bar.grid(row=3, column=0, sticky='E')
|
||||
lab_linx.grid (row=4, column=1)
|
||||
|
||||
#logo
|
||||
photo_bm = PhotoImage(file="%s/../data/linxlogo.gif"\
|
||||
@@ -83,7 +83,7 @@ logo_label.grid(row=0,column=0,padx=50, pady=50, sticky='NW')
|
||||
|
||||
#progress bar
|
||||
scl_progress=Scale(root,orient=HORIZONTAL,resolution=0.01,digits=4,from_=0,to=100,variable=stringvar_bar,label='%')
|
||||
scl_progress.grid(row=3,column=1,padx=50, sticky='NEW')
|
||||
scl_progress.grid(row=3,column=1,padx=50, sticky='EW')
|
||||
|
||||
#root
|
||||
root.rowconfigure(0,weight=1)
|
||||
|
||||
Reference in New Issue
Block a user