fix: asciimatics introduced the '_required_height' property in the Label class. Just updating here to mirror the change

pull/179/head
Sami Mokaddem 2018-02-16 14:35:09 +01:00
parent 4dbf0b743e
commit cbb19f95e4
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ class CLabel(Label):
# tab calculations, so leave internal `_label` value as None.
self._text = label
self.listTitle = listTitle
self._required_height = 1
def set_layout(self, x, y, offset, w, h):
# Do the usual layout work. then recalculate exact x/w values for the