'MDGridLayout. MDButton. MDTextField

How can I move TextField down so that the line and the button are on the same level?

kivy:

   GridLayout:
    cols:2
    spacing:5
    padding:5
    adaptive_height: None
    MDTextField:
        hint_text: "Enter your note"            
    MDRaisedButton:
        text: "Add"

python:

from kivymd.app import MDApp

class Example(MDApp):
    def build(self):
        return 

Example().run()

image



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source