openCom-Companion/sbapp/kivymd/uix/dropdownitem/dropdownitem.kv
2022-10-08 17:17:59 +02:00

39 lines
906 B
Plaintext

<_Triangle>:
canvas:
Color:
rgba: app.theme_cls.text_color
Triangle:
points:
[ \
self.right-dp(14), self.y+dp(7), \
self.right-dp(7), self.y+dp(7), \
self.right-dp(7), self.y+dp(14) \
]
<MDDropDownItem>
orientation: "vertical"
size_hint: None, None
size: self.minimum_size
spacing: "5dp"
padding: "5dp", "5dp", "5dp", 0
MDBoxLayout:
adaptive_size: True
spacing: "10dp"
Label:
id: label_item
size_hint: None, None
size: self.texture_size
color: root.theme_cls.text_color
disabled_color: root.theme_cls.disabled_hint_text_color
font_size: root.font_size
_Triangle:
size_hint: None, None
size: "20dp", "20dp"
MDSeparator: