eric6/Graphics/UMLGraphicsView.py

changeset 8222
5994b80b8760
parent 8220
006ee31b4835
child 8273
698ae46f40a4
child 8289
871b40c5a77a
equal deleted inserted replaced
8221:0572a215bd2f 8222:5994b80b8760
518 elif alignment == Qt.AlignmentFlag.AlignBottom: 518 elif alignment == Qt.AlignmentFlag.AlignBottom:
519 if amount is None or rect.y() + rect.height() > amount: 519 if amount is None or rect.y() + rect.height() > amount:
520 amount = rect.y() + rect.height() 520 amount = rect.y() + rect.height()
521 index = i 521 index = i
522 elif alignment == Qt.AlignmentFlag.AlignVCenter: 522 elif alignment == Qt.AlignmentFlag.AlignVCenter:
523 # __IGNORE_WARNING_Y102__
523 if amount is None or rect.height() > amount: 524 if amount is None or rect.height() > amount:
524 amount = rect.height() 525 amount = rect.height()
525 index = i 526 index = i
526 rect = items[index].sceneBoundingRect() 527 rect = items[index].sceneBoundingRect()
527 528

eric ide

mercurial