Skip to content

Commit afd7759

Browse files
committed
Merge pull request kivy#2785 from inclement/button_color_doc
doc: Clarified button background_color
2 parents 61944c4 + 9d93802 commit afd7759

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

kivy/uix/button.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ class Button(ButtonBehavior, Label):
5252
background_color = ListProperty([1, 1, 1, 1])
5353
'''Background color, in the format (r, g, b, a).
5454
55+
This acts as a *multiplier* to the texture colour. The default
56+
texture is grey, so just setting the background colour will give
57+
a darker result. To set a plain colour, set the
58+
:attr:`background_normal` to ``''``.
59+
5560
.. versionadded:: 1.0.8
5661
5762
The :attr:`background_color` is a

0 commit comments

Comments
 (0)