Enable only four line in text Input in Kivy

Viewed 1455

I am new in Kivy programming. I want to enable only 4 lines in text Input in Kivy. I can use either only one line either multi lines, but I want a text field which has enabled only 4 lines. In short I want a text field where i can enter anything till to four rows

3 Answers

In 1.11.0 Kivy version, you can simply add multiline=False

  TextInput(font_size=20,
            multiline=False,
            height=40)
Related