eric6/Graphics/AssociationItem.py

changeset 8234
fcb6b4b96274
parent 8228
772103b14c18
child 8257
28146736bbfc
equal deleted inserted replaced
8233:bad78a592cc2 8234:fcb6b4b96274
340 px = x + cw 340 px = x + cw
341 py = y 341 py = y
342 elif region == East: 342 elif region == East:
343 px = x + ww 343 px = x + ww
344 py = y + ch 344 py = y + ch
345 elif region == South: 345 elif region in (South, Center):
346 px = x + cw
347 py = y + wh
348 elif region == Center:
349 px = x + cw 346 px = x + cw
350 py = y + wh 347 py = y + wh
351 348
352 if isWidgetA: 349 if isWidgetA:
353 self.setStartPoint(px, py) 350 self.setStartPoint(px, py)

eric ide

mercurial