How to use BoxLayout to create a basic UI form

How to use BoxLayout to create a basic UI form

Kivy_boxlayout

Test Environment

Fedora 31 with Kivy installed

What is BoxLayout –

Kivy BoxLayout acts as a container to align other Widgets in either Horizontal and Vertical orientation. This Layout helps in arranging the Widgets using the proportional values for their size and position.

In this article we will see how we can use Kivy’s BoxLayout to arrange our Child Widgets Label and TextInput Widgets to create a form type of UI with a submit button. Also, we will try to modify our interface with the Canvas by applying Colour and Background image.

Lets see how we can achieve this in the below video.

Hope you learned something in this article and video. Thank you.