Questions tagged [kivymd]

KivyMD is a collection of Material Design compliant widgets. Use with the [kivy] and [python] tags

is a library that adds Material Design compliant widgets for use with .

KivyMD source code is stored at GitHub. This library is a fork of the KivyMD project the author of which stopped supporting this project. Currently KivyMD is in beta status.

KivyMD has documentation pages on ReadTheDocs.

KivyMD

1734 questions
0
votes
1 answer

How to set the height of a textfield widget in KivyMD

How to set exactly not the maximum height, but the default height, that is, the vertical size of the widget? Шf you do exactly as with the width then nothing will work
Mirai
  • 115
  • 2
  • 16
0
votes
0 answers

Kivy: send event and to parent and sibling widget

I am new in Kivy world. I want to pass the event and data to parent and sibling widget. I am not sure how I can do it. Parent widget is screen manager and parent widget also have toolbar and I want to display total count of added items in toolbar.…
0
votes
2 answers

CRITICAL] [Clock ] Warning, too much iteration done before the next frame

I'm just learning, and I tried to run this simple code : ihave a problem , can we help me : this is my code for my apps: from kivymd.app import MDApp from kivy.lang.builder import Builder from kivy.uix.screenmanager import ScreenManager,…
0
votes
1 answer

How to change the value of the widget argument in KivyMD

How do I change the widget argument at the click of a button? That is for example there is a button MDRaisedButton: id: but pos: (150,150) text: 'Старый текст' on_press: app.func() How can I replace the text argument…
Mirai
  • 115
  • 2
  • 16
0
votes
2 answers

How to Update KivyMD Label in the first screen with on_enter function?

Give below is the kivyMD screen manager program from https://github.com/attreyabhatt/KivyMD-Basics/blob/master/13%20-%20Switching%20Screens/main.py and I have added it to the official navigation drawer program…
Alex
  • 72
  • 1
  • 11
0
votes
1 answer

How to remove an item from the list widget using a button on kivymd

I'm having a problem on how can I remove an item from the list widget using a button and possibly how can I clear the widget after checking all the item. py.file class MenuScreen(Screen): def add_item(self): global lst i = 0 …
Zeej
  • 17
  • 5
0
votes
1 answer

How use BoxLayout from KivyMD

Why can I move the button only horizontally using the vertical orientation of BoxLayout, and only vertically using the horizontal orientation? For example: from kivy.lang import Builder from kivymd.app import MDApp KV = ''' Screen: …
Mirai
  • 115
  • 2
  • 16
0
votes
1 answer

it's possible how we can put value in kivy file and return value to py file.and deal with it

I will write simple code to understanding better , imagine we have 3 Button in kivy file like bellow code kivy file: Button: text: A1 variable = 3 Button: text : A2 variable = 2 Button: text :A3 variable = 3 how I can put variable…
Sam
  • 35
  • 2
  • 8
0
votes
1 answer

How to bind MDTextField input with Label's text on second screen

I have started creating small app and I'm stuck. I tried many different ideas from this forum but nothing fit my app. I'm already confused how should I do this. All I want is to take the input from MDTextField (which is provided by user) and show it…
Marcin
  • 3
  • 1
0
votes
1 answer

kivyMD - create widgets dynamically from lists of values

I'm quite new to kivyMD and I try to build simple Carousel with picture, icon and some text. I wish to do this dynamic using 2 list of values - picture and name. Here is how looks manual kv Carousel: id: train_carousel MDFloatLayout: …
bwanaHA
  • 7
  • 4
0
votes
1 answer

it's possible put a variable then deal with ids in kivy and python?

This is a simple code just to understand. Imagine in kivy file I have three labels with different id like below code: Label: id: L1 text:"ex1" Label: id: L2 text:"ex2" Label: id: L3 text:"ex3" Button: text:"ok" on_relase: …
Sam
  • 35
  • 2
  • 8
0
votes
0 answers

Why my buildozer not working well with my Kivymd app?

I tried five times to convert .py made with Kivymd to apk using Buildozer, but it always crash or close immediately or not even installed. My buildzoer.spec changes: title = My Custom App package.name = myapp requirements =…
Superjay
  • 447
  • 1
  • 7
  • 25
0
votes
1 answer

Problem when trying to make a circular button on kivy

from kivy.uix.button import Button from kivy.uix.behaviors.button import ButtonBehavior from kivy.uix.floatlayout import FloatLayout from kivy.uix.image import Image from kivy.uix.screenmanager import ScreenManager, Screen from kivy.clock import…
simon
  • 83
  • 1
  • 9
0
votes
1 answer

Pr0blem with KivyMD / Проблема с KivyMD

How do I pass an id variable from a kv file to the rest of the code? he doesn't see her. For example this code: How to make sure that there is no error and everything is printed? I already asked this question in Russian and Spanish stackoverflow,…
Mirai
  • 115
  • 2
  • 16
0
votes
1 answer

python and kivy input text in first windows after click button print ( text ) as label ( update label ) in second widows

I want create simple app and I'm new in python, this app contain two windows , at first windows have one button (Save) and two input text. at the second windows we have four label. after click on button in first windows the label ( username 1 print…