How can I define kivy dropodown list max height according to the screen height?
问题 I've created a DropDown list and dont want it to go all over the screen. So I tried to set the max_height value but i can only put absolute values. Instead, I want it to resize with the screen like I do with size_hint. I also tried to pass it in kv lang. Creating a DropDown class and setting max_height as (root.height -20), buit it doesnt work as it try to get the height of the DropDown class and not the Screen. Here is my code: from kivy.app import App from kivy.uix.screenmanager import