Merge pull request #179 from mokaddem/fix-177

fix: Added _required_height in CLabel class
This commit is contained in:
Sami Mokaddem 2018-02-16 14:38:38 +01:00 committed by GitHub
commit 7bd2567e25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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