Note: With this version of KivyMD, you don't need to use import statements anymore, Kivy will automatically know what widget you want even without importing anything. My imports are therefore unnecessary but still show you where the code for these buttons lives so you can tweak if you like. MDIconButton: 1:19 MDFloatingActionButton: 3:46 MDFlat Button: 5:48 MDRaisedButton: 7:22 MDRectangleFlatButton: 8:53 MDRectangleFlatIconButton: 10:18 MDRoundFlatButton: 11:20 MDRoundFlatIconButton: 12:28 MDFillRoundFlatButton: 13:47 MDFillRoundFlatIconButton: 16:19 MDTextButton: 17:14
Hello I have a question, I'm using the kivymd kitchen sink demo to try and learn the language. I have a simple script that will show the various buttons within kivymd. However when I run the script I get no compiler errors but a blank white screen. Any ideas or help on how to diagnose or solve the problem will be appreciated. Any ideas?
Thanks for the videos. It helps me a great deal as it is the first time I am building an app with kivy. I have a question about kivymd buttons. Is it possible to set a custom icon for MDButton (such as MDFillRoundFlatIconButton)? So far I can only change MDText's background, but I can't bind on_press or on_release to that.
Erik, For the most part yourr tutorials are excellent. That said however, this one has something going on with it. I am running Python 3.8 on a Mac OSX Catalina, and I opted for the ZIP when downloading the kivyMD from HeaTheaTR from Git, and I got no erros during the execution f the setup.py... When I get as far as creating the main.kv file and in particular adding the MDIconButtion it throws the following error: "" raise FactoryException('Unknown class ' % name) kivy.factory.FactoryException: Unknown class I am running KivyMD v0.103.0 and Kivy 2.0. ... THe strange thing is that if I comment out the MDIconButton: and the 'icon: 'lock' portions then it runs fine depite the fact that one would think that if the MDIconButton module was not found then the import itself would throw the same error, or one similar... Lastly, I'd like to contribute to your channel, but one at least two other occasions, I've snet comments/questions with NO reply, even weeks later... I am hoping you can / will reply with some ideas as to how I can resolve this issue so that I can continue to follow your tuts... Thanks, and waiting to hear back from you soon. Tim
Hi Tim, unfortunately I don't see every comment on all of my videos and don't have the time to help every individual who has questions. The Kivy Discord community is the proper place to get one on one help: discordapp.com/channels/423249981340778496/423250272316293120 Also, given that the KivyMD package is in an 'alpha' state, it is constantly updated and unfortunately makes some of these videos out-dated. Hopefully if people run into issues when following these tutorials, they're able to debug their problems through tinkering of their own or help from the Discord community. That being said, I just downloaded the most recent version of KivyMD and set up a small test to see if I could get the MDIconButton working. This code ran just fine and produced an MDIconButton with a lock icon: *main.py* from kivymd.app import MDApp class MainApp(MDApp): pass MainApp().run() *main.kv* MDIconButton: icon: 'lock' Hope that helps!
Note: With this version of KivyMD, you don't need to use import statements anymore, Kivy will automatically know what widget you want even without importing anything. My imports are therefore unnecessary but still show you where the code for these buttons lives so you can tweak if you like.
MDIconButton: 1:19
MDFloatingActionButton: 3:46
MDFlat Button: 5:48
MDRaisedButton: 7:22
MDRectangleFlatButton: 8:53
MDRectangleFlatIconButton: 10:18
MDRoundFlatButton: 11:20
MDRoundFlatIconButton: 12:28
MDFillRoundFlatButton: 13:47
MDFillRoundFlatIconButton: 16:19
MDTextButton: 17:14
Awesome! I was actually looking for kivy design tutorials. Thanks, buddy!
Thanks, bro. This video is really helpful!!!
Great work ma dude 👍🔥🔥🔥
Your video are very helpful! Thanks!
videos*
thank you very much for the videos,
by the way, you don't have to import the buttons, it works exactly the same
Very nice tutorial! Thanks for sharing Eric. Wondering if the codes are still valid since the video is 4 years old
Hello I have a question, I'm using the kivymd kitchen sink demo to try and learn the language. I have a simple script that will show the various buttons within kivymd. However when I run the script I get no compiler errors but a blank white screen. Any ideas or help on how to diagnose or solve the problem will be appreciated. Any ideas?
Hi, i'd like to know if there is a way to set text align in kivy md buttons. Since it doesn't work like regular kivy buttons.
Thanks for the videos. It helps me a great deal as it is the first time I am building an app with kivy. I have a question about kivymd buttons. Is it possible to set a custom icon for MDButton (such as MDFillRoundFlatIconButton)? So far I can only change MDText's background, but I can't bind on_press or on_release to that.
Please Go ever the KivyMD installation procedure once more.... Mine does not seem to go through...!
Erik, For the most part yourr tutorials are excellent. That said however, this one has something going on with it. I am running Python 3.8 on a Mac OSX Catalina, and I opted for the ZIP when downloading the kivyMD from HeaTheaTR from Git, and I got no erros during the execution f the setup.py... When I get as far as creating the main.kv file and in particular adding the MDIconButtion it throws the following error:
"" raise FactoryException('Unknown class ' % name)
kivy.factory.FactoryException: Unknown class
I am running KivyMD v0.103.0 and Kivy 2.0. ... THe strange thing is that if I comment out the MDIconButton: and the 'icon: 'lock' portions then it runs fine depite the fact that one would think that if the MDIconButton module was not found then the import itself would throw the same error, or one similar... Lastly, I'd like to contribute to your channel, but one at least two other occasions, I've snet comments/questions with NO reply, even weeks later... I am hoping you can / will reply with some ideas as to how I can resolve this issue so that I can continue to follow your tuts... Thanks, and waiting to hear back from you soon. Tim
Hi Tim, unfortunately I don't see every comment on all of my videos and don't have the time to help every individual who has questions. The Kivy Discord community is the proper place to get one on one help: discordapp.com/channels/423249981340778496/423250272316293120
Also, given that the KivyMD package is in an 'alpha' state, it is constantly updated and unfortunately makes some of these videos out-dated. Hopefully if people run into issues when following these tutorials, they're able to debug their problems through tinkering of their own or help from the Discord community.
That being said, I just downloaded the most recent version of KivyMD and set up a small test to see if I could get the MDIconButton working. This code ran just fine and produced an MDIconButton with a lock icon:
*main.py*
from kivymd.app import MDApp
class MainApp(MDApp):
pass
MainApp().run()
*main.kv*
MDIconButton:
icon: 'lock'
Hope that helps!
Lovely videos. Can you tr show us how to do a simple system using kivy like crud or something else. Thx
How can i do action on click button?
please i trust this channel here your channel its real .please help me on that just how to comminect ios with python commands
Good, i will follow you
Can you disable a button using Speech Recognition
Is it possible to make proper pause menu like in most mobile games using these buttons and pop up (maybe)?
I don't know exactly what image is in your head when you say proper pause menu, but I'm sure that it's possible! Kivy is incredibly flexible.
@@erik-sandberg Honestly, any kind of. I know there is on_pause method, but I haven't seen any applications of it.
i like your channel thats why iam asking this,its only how python comminect with ios,
brother please help me with video how to connect ios to python.please i need the video wen you have time please.
Can you please show how to do a pop up with kivymd
That’s the next video! It’ll be up soon :)