Mercurial > libervia-backend
comparison frontends/sortilege_old/boxsizer.py @ 587:952322b1d490
Remove trailing whitespaces.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 18 Jan 2013 17:55:34 +0100 |
parents | 2a072735e459 |
children | beaf6bec2fcd |
comparison
equal
deleted
inserted
replaced
586:6a718ede8be1 | 587:952322b1d490 |
---|---|
60 #if the last win is hidden, we expand previous visible one | 60 #if the last win is hidden, we expand previous visible one |
61 current_row[-1][2] = current_row[-1][2] + (win.getX() - oriX)+win.getWidth() | 61 current_row[-1][2] = current_row[-1][2] + (win.getX() - oriX)+win.getWidth() |
62 else: | 62 else: |
63 current_row.append([win, h+y-oriY, w+x-oriX, oriY, oriX]) | 63 current_row.append([win, h+y-oriY, w+x-oriX, oriY, oriX]) |
64 oriX=oriX+w | 64 oriX=oriX+w |
65 | 65 |
66 if oriX!=0: | 66 if oriX!=0: |
67 oriY=oriY+h | 67 oriY=oriY+h |
68 visible_row.append(current_row) | 68 visible_row.append(current_row) |
69 elif visible_row: | 69 elif visible_row: |
70 #if all the row is empty, we take the space | 70 #if all the row is empty, we take the space |