Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/p/e/pensool-HEAD/source/gui/itemmenu.py   pensool(Download)
  def __init__(self, command):
    super(MenuItem, self).__init__(command)
 
    self.append(morph.glyph.RectGlyph())
    self.relative_scale(config.ITEM_SIZE*2, config.ITEM_SIZE) # size
    self.append(text_morph)
    # !!! Must scale my morph the parent of the textglyph, not self
    text_morph.relative_scale(config.ITEM_SIZE*2, config.ITEM_SIZE) # size
 
  def __repr__(self):

src/p/e/pensool-HEAD/source/gui/menutraditional.py   pensool(Download)
      # FIXME more generally, get the size of an item
      # point.y += item.get_dimensions().height
      point.y += config.ITEM_SIZE # HEIGHT?
 
    """

src/p/e/pensool-HEAD/source/gui/menuhandle.py   pensool(Download)
      # FIXME more generally, get the size of an item
      # point.y += item.get_dimensions().height
      point.x += config.ITEM_SIZE/2 # HEIGHT?