мой код::
Код: Выделить всё
str = '''
MDCard:
pos_hint : {'x':0.056 , 'top':0.836}
size_hint : 0.88,0.82
ScrollView:
do_scroll_x : False
BoxLayout:
height : self.minimum_height
orientation : 'vertical'
size_hint : 1,None
spacing : 15
padding : 55
MDTextField:
id : input_field_1
mode : 'rectangle'
size_hint : None,None
height : 500 # setting height doesn't seems to work either
#y_scroll : True if self.minimum_height > 400 else False
multiline : True
MDTextField:
id : input_field_2
mode : 'rectangle'
size_hint : None,0.7 # see the result
#y_scroll : True
multiline : True
'''
class My_4app(MDApp):
def build(self):
return Builder.load_string(str)
My_4app().run()
Подробнее здесь: https://stackoverflow.com/questions/649 ... ayout-kivy