1,726 questions
0
votes
0
answers
25
views
KivyMD 2.0.1 MDNavigationDrawerItem not responding when wrapped in a MDNavigationDrawer
Im struggling with non-responsive MDNavigationDrawerItems when they are inside a Navigation Drawer. I'm new at Kivy and KivyMD, so I'm not sure if this is me doing something wrong or a possible bug in ...
-3
votes
1
answer
43
views
Integrate a chart into Kivy
I'd like to add a Kivy chart. I already have part of it done, but I'd like to know how to implement it. I'm using .py for the logic and the Kivy language for the design. I have a main file that ...
Advice
0
votes
2
replies
56
views
Make these all apply to one function, so that one plays, but stops the one before it
How do I make these all apply to one function, so that one plays, but stops the one before it?
Code
def rex_audio(self):
RexAud = SoundLoader.load('Rex.wav')
RexAud.play()
...
0
votes
0
answers
32
views
Text wrapping in MDButton
I was previously using Kivymd1.2.0 and the text wrapping was working fine in MDRaisedButton. I have upgraded to Kivymd2.0.1dev and the text wrapping does not work at all. I have tried various things, ...
0
votes
0
answers
61
views
Can't set font_size for MDTextFieldHintText inside MDTextField
I'm using MDTextFieldHintText inside an MDTextField, but I can't change the MDTextFieldHintText font_size when it's nested. When I use MDTextFieldHintText outside of MDTextField, the font_size works ...
0
votes
0
answers
52
views
MDDataTable not displaying new Row after adding to it
Good day there!
I am currently working on a school proyect in a MVC arquitecture where I am communicating my app with a Firestore database and, among other things, displaying the data I get from the ...
0
votes
0
answers
56
views
KivyMD Snackbar TypeError: Properties ['text'] passed to init may not be existing property names
I encountered an error when using Snackbar in KivyMD (latest version, installed via pip).
Trying to show notice like this:
Snackbar(text="ex").open()
But I'm getting an error:
TypeError: ...
0
votes
0
answers
80
views
Python-Kivy: SoundLoader.load crashes MDApp
I am trying to play a sound in my kivymd app. For this, I am loading a sound using kivy's SoundLoader upon initializing my app class. If I do this, my app crashes once I start it (It opens the app ...
2
votes
3
answers
103
views
Why do I have 2 red dots on my KivyMD2.0.0 screen. I am using a KV string and I am rendering it. How to correct this?
I am a newbie using Stack Overflow and kivymd. Why do I have 2 unexpected red dots on my KivyMD2.0.0 screen? I have created a KV string in my Python code to reproduce the behavior. This code loads a ...
0
votes
1
answer
45
views
Avoid having my custom button bound to multiple instances of that button when pressed
My example seems to pass self in the button object (based on printing my_id to debug and it matching the my_id for each button, but when I click on "Option A" all 3 buttons animate. When I ...
0
votes
0
answers
73
views
Different behaviour of KivyMD's TopAppBar depending on whether built by KV or in Python
I am very new to Kivy and building GUI apps in general and I have just started writing an app using KivyMD. I have recently stumbled upon a puzzle, which I was not capable of solving myself. Namely - ...
1
vote
1
answer
34
views
txt not showing in kivymd
Txt files larger than 10 KB are not displayed in MDLabel. Just a black empty screen is displayed. Why is this happening?
They are displayed via MDTextField, but there is no markup. So this does not ...
0
votes
0
answers
28
views
KivyMd Does not maintain the MDCards aspect ration and Problems in Size_hint_Y
As the title suggests, my kivy application is facing a lot of problems that chatgpt could not solve. The problem occured becuase of the vertical scrollbars. My main problem is the MDCards does ...
0
votes
0
answers
35
views
How to resize hint_text in KivyMD?
I want a dynamic screen where widgets are resizable dependent on screen size (small screen, widgets are smaller).
This works for most of my widgets with the exception of the MDTextField. I have a ...
0
votes
0
answers
59
views
WebView in kivy with YouTube Embedded Players and Player Parameters
I have tried to embed a YouTube in my app using kivy but the code wasn't working. This the code I wrote.
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.button import ...