Why is my KivyMD Button not changing Color with “md_bg_color”?
I am adding an MDButton to my kv file, as per the below code, and attempting to set a custom background color. It is not working, I have tried many different variations.
I am using KivyMD 2.0.1
Why is my KivyMD Button not changing Color with “md_bg_color”?
I am adding an MDButton to my kv file, as per the below code, and attempting to set a custom background color. It is not working, I have tried many different variations.
I am using KivyMD 2.0.1
‘MDLabel’ object that does not have the ‘configure’ attribute
after changing the code, python decided to give me this error. If you know what the problem is, then I ask you for help! Thank you all in advance
The label widget does not display the kivymd text
from kivy.clock import Clock from kivy.uix.boxlayout import BoxLayout from kivymd.app import MDApp from socket import * from kivymd.uix.label import MDLabel class TestApp(MDApp): def build(self): self.label1 = MDLabel(font_style=”H5″, pos_hint={‘center_x’: 0.5, ‘center_y’: 0.5}) Clock.schedule_interval(self.update_label_text, 1) return self.label1 def update_label_text(self, dt): client = socket( AF_INET, SOCK_STREAM ) client.connect((‘192.168.5.99’, 7000)) data = client.recv(1024) msg = data.decode(‘utf-8’) while True: data […]
Error: callback must be a callable Kivymd Clock
I am transferring data from the server to the label widget. I update the window every second so that new data from the server is visible in the window without restarting the window. Sorry, I’m new to working with kivymdenter image description here
How to remove a widget from screen and refresh the recycleview?
This is my first question, I’m new on kivy…
How to remove a widget from a screen
I’m trying to make a screen with textinput a btn and a recycling view.
The btn add to the recycling view a card with the text of the textinput, each card has a trash-bin button to remove the card and the item from the list.