mirror of
https://github.com/Benexl/FastAnime.git
synced 2026-01-17 07:11:50 -08:00
fix:Worked around weird behavior of Mdlabel's with a background color
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user