You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kivy-...@googlegroups.com
Hi
Thanks for your answer. My reason for doing it in Python is that I won't know the number of labels I need in the grid until runtime. Unless there is a cool way of doing that in kv?
BTW thanks for your videos.
Best regards
David
Alexander Taylor
unread,
Jun 5, 2015, 10:11:37 AM6/5/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kivy-...@googlegroups.com
That doesn't mean you have to use python. For instance, you could make a
new class MyLabel and set the background color with a kv rule, then when
you make your unknown number they will all have that rule applied.
Actually, you would want to do this anyway even if just using kv, to
avoid writing the same graphics stuff many times.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kivy-...@googlegroups.com
Hi Alexander
Thanks for your reply. I'm sorry but I am really struggling to get this together. Based on the ControllerApp example in the Kivy documentation I have put together a very simple app: