mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
CommonClient: fix hint tab overlapping (#2957)
Co-authored-by: Remy Jette <remy@remyjette.com>
This commit is contained in:
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")
|
||||||
|
Reference in New Issue
Block a user