Merge pull request #179 from mokaddem/fix-177

fix: Added _required_height in CLabel class
pull/181/head
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
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