Changeset 1801

Show
Ignore:
Timestamp:
07/31/07 22:43:10 (1 year ago)
Author:
arj..@yirdis.nl
Message:

set width/height in setup_canvas.py.

Files:

Legend:

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

    r1796 r1801  
    302302        self.height = height 
    303303 
     304    def setup_canvas(self): 
     305        super(Element, self).setup_canvas() 
     306 
     307        # Set width/height explicitly, so the element will maintain it 
     308        self.width = self.width 
     309        self.height = self.height 
    304310 
    305311    def _set_width(self, width):