Commit 95cf9d9f authored by Barry Warsaw's avatar Barry Warsaw

__populate(): Use augmented assignments.

parent b4d8612f
...@@ -90,7 +90,7 @@ class ListViewer: ...@@ -90,7 +90,7 @@ class ListViewer:
bboxes.append(boxid) bboxes.append(boxid)
if textend+3 > widest: if textend+3 > widest:
widest = textend+3 widest = textend+3
row = row + 1 row += 1
canvheight = (row-1)*20 + 25 canvheight = (row-1)*20 + 25
canvas.config(scrollregion=(0, 0, 150, canvheight)) canvas.config(scrollregion=(0, 0, 150, canvheight))
for box in bboxes: for box in bboxes:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment