mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: asciimatics introduced the '_required_height' property in the Label class. Just updating here to mirror the change
This commit is contained in:
parent
4dbf0b743e
commit
cbb19f95e4
1 changed files with 1 additions and 0 deletions
|
@ -175,6 +175,7 @@ class CLabel(Label):
|
||||||
# tab calculations, so leave internal `_label` value as None.
|
# tab calculations, so leave internal `_label` value as None.
|
||||||
self._text = label
|
self._text = label
|
||||||
self.listTitle = listTitle
|
self.listTitle = listTitle
|
||||||
|
self._required_height = 1
|
||||||
|
|
||||||
def set_layout(self, x, y, offset, w, h):
|
def set_layout(self, x, y, offset, w, h):
|
||||||
# Do the usual layout work. then recalculate exact x/w values for the
|
# Do the usual layout work. then recalculate exact x/w values for the
|
||||||
|
|
Loading…
Reference in a new issue