brotherton-erpnext/hr/search_criteria/employee_information/employee_information.py
2011-07-01 13:34:41 +05:30

6 lines
155 B
Python

for c in range(0,len(colnames)):
l = (len(colnames[c])*9)
if l < 150 : col_width = '150px'
else: col_width = '%spx'%(l)
colwidths[c] = col_width