openCom-Companion/sbapp/kivymd/uix/snackbar/snackbar.kv

29 lines
761 B
Plaintext
Raw Normal View History

2023-07-10 02:49:58 +02:00
#:import SNACK_BAR_ELEVATION kivymd.material_resources.SNACK_BAR_ELEVATION
#:import SNACK_BAR_OFFSET kivymd.material_resources.SNACK_BAR_OFFSET
2022-07-07 22:16:10 +02:00
2023-07-10 02:49:58 +02:00
<MDSnackbar>
padding: 0, 0, "8dp", 0
2022-07-07 22:16:10 +02:00
size_hint_y: None
2023-07-10 02:49:58 +02:00
height: self.minimum_height
md_bg_color: "#323232"
elevation: SNACK_BAR_ELEVATION
shadow_offset: SNACK_BAR_OFFSET
2022-07-07 22:16:10 +02:00
2023-07-10 02:49:58 +02:00
SnackbarLabelContainer:
id: label_container
padding: "16dp", "15dp", 0, "15dp"
orientation: "vertical"
adaptive_height: True
pos_hint: {"center_y": .5}
spacing: "4dp"
2022-07-07 22:16:10 +02:00
2023-07-10 02:49:58 +02:00
SnackbarActionButtonContainer:
id: action_container
size_hint_x: None
2022-07-07 22:16:10 +02:00
2023-07-10 02:49:58 +02:00
SnackbarCloseButtonContainer:
id: close_container
size_hint_x: None
width: "38dp"