'Must be implemented if the widget can take CALCULATED for length.
It must return the width of the widget if it\'s installed in a
horizontal bar; it must return the height of the widget if it\'s
installed in a vertical bar. Usually you will test the orientation
of the bar with \'self.bar.horizontal\'.'

def calculate_length(self):

    raise NotImplementedError
