KivyMD icon indicating copy to clipboard operation
KivyMD copied to clipboard

MDLabel backgound overlaps text

Open neonsudeep opened this issue 3 years ago • 1 comments

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 avatar Oct 18 '21 05:10 neonsudeep

@neonsudeep We are already working on a solution to this issue - https://github.com/kivymd/KivyMD/pull/1092

HeaTTheatR avatar Oct 18 '21 06:10 HeaTTheatR