Changeset 1906

Show
Ignore:
Timestamp:
08/11/07 09:33:01 (1 year ago)
Author:
wrobe..@pld-linux.org
Message:

- do not reset width/height when changing Element's minimal size;

width/height is taken care by constraint solver after minimal size change

Files:

Legend:

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

    r1893 r1906  
    386386        self._c_min_w.delta = min_width 
    387387 
    388         if min_width > self.width: 
    389             self.width = min_width 
    390  
    391388    min_width = reversible_property(lambda s: s._c_min_w.delta, _set_min_width) 
    392389 
     
    400397 
    401398        self._c_min_h.delta = min_height 
    402  
    403         if min_height > self.height: 
    404             self.height = min_height 
    405399 
    406400    min_height = reversible_property(lambda s: s._c_min_h.delta, _set_min_height)