def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def _update_width(self, width_diff):
    if self._items_total_width is None:
      self._items_total_width = self.get_allocation().width