mirror of https://github.com/CIRCL/AIL-framework
Merge pull request #179 from mokaddem/fix-177
fix: Added _required_height in CLabel classpull/181/head
commit
7bd2567e25
|
@ -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 New Issue