Sideband_CE/sbapp/kivymd/uix/bottomsheet/bottomsheet.kv

42 lines
1.0 KiB
Plaintext
Raw Normal View History

2023-07-10 02:49:58 +02:00
<MDBottomSheetContent>
size_hint_y: None
height: self.minimum_height
2022-07-07 22:16:10 +02:00
2023-07-10 02:49:58 +02:00
<MDBottomSheetDragHandle>
orientation: "vertical"
size_hint_y: None
height: self.minimum_height
padding: "16dp", "8dp", "16dp", "16dp"
2022-07-07 22:16:10 +02:00
2023-07-10 02:49:58 +02:00
BottomSheetDragHandle:
md_bg_color:
app.theme_cls.disabled_hint_text_color \
if not root.drag_handle_color else \
root.drag_handle_color
size_hint: None, None
size: "32dp", "4dp"
radius: 4
pos_hint: {"center_x": .5}
2022-07-07 22:16:10 +02:00
2023-07-10 02:49:58 +02:00
BottomSheetDragHandleContainer:
id: header_container
size_hint_y: None
height: self.minimum_height
2022-07-07 22:16:10 +02:00
2023-07-10 02:49:58 +02:00
<MDBottomSheet>
2022-07-07 22:16:10 +02:00
orientation: "vertical"
2023-07-10 02:49:58 +02:00
md_bg_color: root.bg_color if root.bg_color else app.theme_cls.bg_darkest
radius: 16, 16, 0, 0
padding: 0, "8dp", 0, 0
2022-07-07 22:16:10 +02:00
2023-07-10 02:49:58 +02:00
MDBoxLayout:
id: drag_handle_container
size_hint_y: None
height: self.minimum_height
2022-07-07 22:16:10 +02:00
2023-07-10 02:49:58 +02:00
MDBoxLayout:
id: container
size_hint_y: None
height: self.minimum_height