CommonClient: fix hint tab overlapping (#2957)
Co-authored-by: Remy Jette <remy@remyjette.com>
This commit is contained in:
parent
44988d430d
commit
ca549df20a
6
kvui.py
6
kvui.py
|
@ -705,6 +705,12 @@ class HintLog(RecycleView):
|
||||||
def hint_sorter(element: dict) -> str:
|
def hint_sorter(element: dict) -> str:
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
|
def fix_heights(self):
|
||||||
|
"""Workaround fix for divergent texture and layout heights"""
|
||||||
|
for element in self.children[0].children:
|
||||||
|
max_height = max(child.texture_size[1] for child in element.children)
|
||||||
|
element.height = max_height
|
||||||
|
|
||||||
|
|
||||||
class E(ExceptionHandler):
|
class E(ExceptionHandler):
|
||||||
logger = logging.getLogger("Client")
|
logger = logging.getLogger("Client")
|
||||||
|
|
Loading…
Reference in New Issue