kivy-language

KivyMD AttributeError: Content/TwoLineIconListItem object has no attribute '_disabled_count'

KivyMD AttributeError: Content/TwoLineIconListItem object has no attribute '_disabled_count' Question: Starting from an example of the Kivy MD Expansion Panel, I would like to customize the content of the panel. The example shows the same content for each expansion panel. I would like to set values of the fields ‘text’ and ‘secondary text’. So I modified …

Total answers: 2

How to make widgets appear from the bottom in scrollview in Python Kivy?

How to make widgets appear from the bottom in scrollview in Python Kivy? Question: how cen I make these dynamically added widgets appear from the bottom of the scrollview instead of the top. Kind of like WhatssApp or Telegram or Messenger. I am a bit stuck on this one. I tried with PushMatrix and PopMatrix, …

Total answers: 1

Kivy Does Not Update The Refreshed Data on The Screen [Video + Full Codes]

Kivy Does Not Update The Refreshed Data on The Screen [Video + Full Codes] Question: Kivy does not update the refreshed data on the screen. If i restart the app, i can see the new data after calculation. I want to see refreshed data on the screen after the calculation is done, without restarting the …

Total answers: 1

How to I exactly the position of a kivy text label on a canvas?

How to I exactly the position of a kivy text label on a canvas? Question: I have designed the following in figma. I have created a 500px x 500px window and a widget. I want to place the "in motion" text 160px from the left and 207px from the top. figma design For images, that …

Total answers: 2

Using ScreenManager in Kivy (Python) with several .py screens

Using ScreenManager in Kivy (Python) with several .py screens Question: I’ve recently started using the Kivy framework to create an app with multiple screens that I would like to merge, so that, for example, pressing a button on the login screen opens another page. I’ve been trying to use the ScreenManager library for days but …

Total answers: 2

How to get the value of the field for MDTextField input in KivyMD?

How to get the value of the field for MDTextField input in KivyMD? Question: I use kivymd. How can I get the value from MDTextField with id: sum, when clicking on the button with id: bt2. I created the def show function, which should take this very value, and tried to implement its work, but …

Total answers: 1

binding movement and rotation of kivy scatter widgets

binding movement and rotation of kivy scatter widgets Question: Below I have a code that displays 2 scatter widgets in a kivy screen. If one widget is dragged, the other also drags and vice versa. What I want is in addition to movement, if one is rotated, the other rotates in the same way. In …

Total answers: 1

Stopwatch Reset with sustained button press kivy

Stopwatch Reset with sustained button press kivy Question: I am writing a program which will have a stopwatch screen in it. The stopwatch works as desired, and I am now trying to reduce the number of buttons on the screen for touch optimisation. To do this, I am attempting to reduce the entire stopwatch to …

Total answers: 1

Unable to import package and module KIVY

Unable to import package and module KIVY Question: Any idea what I am missing here? I am trying to import functions from function.py to dashboard.py using " from .db_functions.function import * ". It looks like function.py cannot be found and then dashboard.kv cannot be imported to the main view. Here is my NEW folder structure …

Total answers: 1