mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
kvui: Fix hint tab formatting regression (#4778)
Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com>
This commit is contained in:
6
kvui.py
6
kvui.py
@@ -817,6 +817,12 @@ class HintLayout(BoxLayout):
|
|||||||
boxlayout.add_widget(AutocompleteHintInput())
|
boxlayout.add_widget(AutocompleteHintInput())
|
||||||
self.add_widget(boxlayout)
|
self.add_widget(boxlayout)
|
||||||
|
|
||||||
|
def fix_heights(self):
|
||||||
|
for child in self.children:
|
||||||
|
fix_func = getattr(child, "fix_heights", None)
|
||||||
|
if fix_func:
|
||||||
|
fix_func()
|
||||||
|
|
||||||
|
|
||||||
status_names: typing.Dict[HintStatus, str] = {
|
status_names: typing.Dict[HintStatus, str] = {
|
||||||
HintStatus.HINT_FOUND: "Found",
|
HintStatus.HINT_FOUND: "Found",
|
||||||
|
Reference in New Issue
Block a user