kivy.uix.popup background color

1,338 views
Skip to first unread message

toddf

unread,
Aug 1, 2014, 12:01:15 PM8/1/14
to kivy-...@googlegroups.com
Hi,
I can't find a way to change the background color of the popup. It stays in the dark gray default.  I used background_color, but that changed the transparent overlay on the rest of the screen (not the popup). The API shows commands to change the text and separator line, but what about the background?

Does anyone know a solution?

Thanks!

Milos Bulatovic

unread,
Aug 1, 2014, 1:58:21 PM8/1/14
to kivy-...@googlegroups.com
Todd, I was just today finishing a new theme for kivy and I think that holds your answer. The background is a png file, I think the "modalview-background.png" is responsible for the pop-up background.

Alexander Taylor

unread,
Aug 1, 2014, 4:44:57 PM8/1/14
to kivy-...@googlegroups.com
You can change the image by setting the background property. The colour acts as a tint to this, so use a white image if you want to see exactly pthe colour you set.
Reply all
Reply to author
Forward
0 new messages