Changeset 1560

Show
Ignore:
Timestamp:
07/03/07 00:15:54 (1 year ago)
Author:
arj..@yirdis.nl
Message:

re-enstate original constraints for Element

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gaphas/trunk/gaphas/item.py

    r1540 r1560  
    358358            # follow thanks to equality constraints above 
    359359            # TODO: use LessThanConstraint.delta to calculate minimal size 
    360             add(lt(smaller=h[NW].x, bigger=h[SE].x)), 
    361             add(lt(smaller=h[NW].y, bigger=h[SE].y)), 
     360            #add(lt(smaller=h[NW].x, bigger=h[SE].x)), 
     361            #add(lt(smaller=h[NW].y, bigger=h[SE].y)), 
     362            add(lt(smaller=h[NW].x, bigger=h[NE].x)), 
     363            add(lt(smaller=h[SW].x, bigger=h[SE].x)), 
     364            add(lt(smaller=h[NE].y, bigger=h[SE].y)), 
     365            add(lt(smaller=h[NW].y, bigger=h[SW].y)), 
    362366            ] 
    363367