Reputation: 21
I'm having a strange issue with Kivy. I have a simple application with a button with text on it: Hello World
.
The text does not appear or shows in a bad way. I have attached a picture so you can understand. Text not showing
This is the code of the app:
from kivy.app import App
from kivy.uix.button import Button
class TestApp(App):
def build(self):
return Button(text='Hello World')
TestApp().run()
I think it's something related to my Kivy configuration or dependencies, but I don't know what.
Upvotes: 2
Views: 1774
Reputation: 11
I had this same issue. I found that I had to add the transparency parameter to the color property I.E. color: R,G,B,A so I had to add 1 for A
Upvotes: 1
Reputation: 897
For me, updating the pygame package using pip install --upgrade pygame
fixed the problem
Upvotes: -1