()
| 1312 | clipW = max(tabsGrouped, default=0) |
| 1313 | |
| 1314 | def getUnclippedW(): |
| 1315 | unclippedW = 0 |
| 1316 | for w, tabs in tabsGrouped.items(): |
| 1317 | unclippedW += w * len(tabs) |
| 1318 | return unclippedW |
| 1319 | while tabsGrouped: |
| 1320 | # Check if we're within width limit |
| 1321 | neededW = 0 |