Beispiel #1
0
 def calc_size(self):
     w, h = Output.calc_size(self)
     if self.tutor_message:
         self.tutor_wrapped_message = textwrap.wrap(self.tutor_message, width=w)
         h   -= (len(self.tutor_wrapped_message))
     return w, h