KivyMD
KivyMD copied to clipboard
MDLabel backgound overlaps text
Description of the Bug
MDlabel text gets overlaped using md_bg_color
Code and Logs
from kivy.lang import Builder
from kivymd.app import MDApp
from kivymd.uix.screen import MDScreen
Builder.load_string("""
<Root>
MDScreen:
BoxLayout:
orientation:"vertical"
MDLabel:
text:"Something is visible"
font_style:"H1"
md_bg_color:0.0,0.3,0.1,0.7
theme_text_color:"Custom"
bold:True
text_color:1,1,1,1
""")
class Root(MDScreen):
pass
class MainApp(MDApp):
def build(self):
return Root()
if __name__=="__main__":
MainApp().run()
Versions
- OS: Linux
- Python: 3.9
- Kivy: 2.0.0
- KivyMD: master
@neonsudeep We are already working on a solution to this issue - https://github.com/kivymd/KivyMD/pull/1092