mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-30 09:47:17 +00:00
Merge pull request #179 from mokaddem/fix-177
fix: Added _required_height in CLabel class
This commit is contained in:
commit
7bd2567e25
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