How to set bacckground color Spinner in the Screen Widget? and one vore question...

35 views
Skip to first unread message

alexzinc...@gmail.com

unread,
May 18, 2018, 1:49:06 PM5/18/18
to Kivy users support
Ok. Hello anybody!))

I want to change color of Spinner widget to orange it that time i have to choose the Item. The Spinner displeace in the Screen / BoxLayout widgets

And if it possible how to create spinner with textinput widget to choose and write text for shoosing items/
+
Send it like vars in to Main.py file?? 

Thanks for you attention

Buy !!!
Снимок экрана от 2018-05-18 20-39-09.png

ZenCODE

unread,
May 20, 2018, 9:13:07 AM5/20/18
to Kivy users support
You change the Spinners styling via kv rules. The present styling can be seen here: https://github.com/kivy/kivy/blob/f1b412d9a628220b07cca8587fdb76b5d1eb7421/kivy/data/style.kv#L538

To prevent displacing, you can display options in a popup? Difficult to say without a runnable example.

If you can to display TextInputs's here, you can subclass or override the SpinnerOption class .

Reply all
Reply to author
Forward
0 new messages