CommonClient: fix hint tab overlapping (#2957)

Co-authored-by: Remy Jette <remy@remyjette.com>
This commit is contained in:
Silvris
2024-03-22 15:29:24 -05:00
committed by GitHub
parent 44988d430d
commit ca549df20a

View File

@@ -705,6 +705,12 @@ class HintLog(RecycleView):
def hint_sorter(element: dict) -> str:
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):
logger = logging.getLogger("Client")