kivymd

pyinstaller does not support importing kivy screen with exec

pyinstaller does not support importing kivy screen with exec Question: I have a kivymd app designed using the lazy loading method (all the screens and their kv files are placed in different folders so that they can be called when the user needs them using exec and eval, something similar to these projects kitchensink and …

Total answers: 1

Kivy – AttributeError: 'DialogContent' object has no attribute 'manager'

Kivy – AttributeError: 'DialogContent' object has no attribute 'manager' Question: When I close the Dialog Box using the ‘Cancel’ Button or try to add a task using the ‘Save’ button, it creates an attribute error saying that DialogContent doesn’t have an attribute called manager. I wanted to reference the close_dialog or the add_task from my …

Total answers: 1

How to do single row selection in kivyMD DataTables

How to do single row selection in kivyMD DataTables Question: I am using kivyMD DataTables widget to display my data and allow single row can be selected to do some further edit. The following is my test case. I have encountered several problems. I use on_row_press event to treat the selection, but I found only …

Total answers: 1

How to access widgets from another Dynamic Class in kv?

How to access widgets from another Dynamic Class in kv? Question: Is there a way to access a widget from another Dynamic Class in Kivy? I’m trying to trigger some event from a dynamic class which is going to have an effect on a other dynamic class. Here’s an example: Python: from kivy.app import App …

Total answers: 2

How to create Dropdown animation in Kivy

How to create Dropdown animation in Kivy Question: I’m trying to animate a dropdown symbol to rotate down (when the dropdown option is open) and revert back to it’s original position (when dropdown option closes). Please find this attached screenshot. Here’s my py file: from kivy.lang.builder import Builder from kivymd.app import MDApp from kivy.uix.screenmanager import …

Total answers: 1

KivyMD MDTimePicker is not returning time, MDTimePicker returns None

KivyMD MDTimePicker is not returning time, MDTimePicker returns None Question: I’m trying to make a program where the program makes the user pick a due date and time for their tasks. User presses a button to open a dialog that takes task name, description and due date-time from them. Everything is fine, except I couldn’t …

Total answers: 1

KivyMD objects are not centered with pos_hint

KivyMD objects are not centered with pos_hint Question: So in the picture you see that the label and button are at the very end of the screen but i would like that they are both in the middle of their half. Since they are added on a BoxLayout the center of the label has to …

Total answers: 1

Is it possible to set the radius value in a ScrollView in Python/Kivy?

Is it possible to set the radius value in a ScrollView in Python/Kivy? Question: I need a rounded scrollview that rounds along with the children, I did a lot of research on this but failed, I didn’t find anything about it. Something like: ScrollView: do_scroll: [False, True] radius: [dp(30),] MDList: id: list This does not …

Total answers: 2

Kivymd APK App (created with Buildozer) closes after opening up

Kivymd APK App (created with Buildozer) closes after opening up Question: I have created an APK file from Python Kivy & KivyMD, using Buildozer. When I open the app after installing it, it shows the splash image and then closes. I have checked and found that their seems no issue in the main.py, as I …

Total answers: 4