Skip to content

Commit ca549df

Browse files
Silvrisremyjette
andauthored
CommonClient: fix hint tab overlapping (ArchipelagoMW#2957)
Co-authored-by: Remy Jette <remy@remyjette.com>
1 parent 44988d4 commit ca549df

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

kvui.py

+6
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,12 @@ def refresh_hints(self, hints):
705705
def hint_sorter(element: dict) -> str:
706706
return ""
707707

708+
def fix_heights(self):
709+
"""Workaround fix for divergent texture and layout heights"""
710+
for element in self.children[0].children:
711+
max_height = max(child.texture_size[1] for child in element.children)
712+
element.height = max_height
713+
708714

709715
class E(ExceptionHandler):
710716
logger = logging.getLogger("Client")

0 commit comments

Comments
 (0)