Kivy: Change Button Color Part 2

Rachela
Jul 12, 2021

--

Today I found out that you can standardize multiple buttons within your kivy app. Use the @ symbol to inherit the Button class.

On the lower right green button background_color: 0, 1, 0, 1. I overrode the standard button format by making the change within that specific button. You can also have both labels and buttons inherit the same perimeters:

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Rachela
Rachela

Written by Rachela

I am a librarian and new computer programmer creating an app with Python and Kivy to document the plants in my garden.

No responses yet

Write a response