fix:Worked around weird behavior of Mdlabel's with a background color

This commit is contained in:
Benex254
2024-08-05 09:46:54 +03:00
parent 2eca3f480d
commit 35c26ffe4d
11 changed files with 69 additions and 85 deletions

View File

@@ -1,17 +1,5 @@
#:import get_hex_from_color kivy.utils.get_hex_from_color
<CharactersHeaderText@MDLabel>
adaptive_height:True
# halign:"center"
max_lines:0
shorten:False
md_bg_color:self.theme_cls.secondaryContainerColor
bold:True
markup:True
font_style: "Body"
role: "large"
padding:"10dp"
<CharactersContainer@MDBoxLayout>:
adaptive_height:True
md_bg_color:self.theme_cls.surfaceContainerLowColor
@@ -74,8 +62,9 @@
adaptive_height:True
container:container
orientation:"vertical"
CharactersHeaderText:
HeaderLabel:
text:"Characters"
halign:"left"
CharactersContainer:
id:container