MDNavigationDrawer: id: nav_drawer ScrollView: MDList: OneLineListItem: text: "Home" on_press: nav_drawer.set_state("close") screen_manager.current = "home"
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/0e316ff2-3970-49e3-a81c-0900aa6f4878o%40googlegroups.com.
https://kivymd.readthedocs.io/en/latest/components/list/#onelineavatarlistitem
From: kivy
Sent: Thursday, January 28, 2021 1:56 PM
To: Kivy users support
Subject: [kivy-users] KivyMD - Add Icon to List Items
How can I add icon to list items? Here is my kv code:
MDNavigationDrawer:
id: nav_drawer
ScrollView:
MDList:
OneLineListItem:
text: "Home"
on_press:
nav_drawer.set_state("close")
screen_manager.current = "home"
Thanks.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.