mirror of
https://github.com/markqvist/Sideband.git
synced 2025-08-06 05:24:17 -04:00
Updated kivymd
This commit is contained in:
parent
c6df8b851b
commit
abcf173cc8
160 changed files with 11617 additions and 6545 deletions
24
sbapp/kivymd/tests/test_backdrop.py
Normal file
24
sbapp/kivymd/tests/test_backdrop.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
from kivymd.tests.base_test import BaseTest
|
||||
|
||||
|
||||
class BackdropTest(BaseTest):
|
||||
def test_backdrop_raw_app(self):
|
||||
from kivymd.uix.backdrop import MDBackdrop
|
||||
from kivymd.uix.backdrop.backdrop import (
|
||||
MDBackdropBackLayer,
|
||||
MDBackdropFrontLayer,
|
||||
)
|
||||
from kivymd.uix.screen import MDScreen
|
||||
from kivymd.uix.widget import MDWidget
|
||||
|
||||
self.render(
|
||||
MDScreen(
|
||||
MDBackdrop(
|
||||
MDBackdropBackLayer(MDWidget()),
|
||||
MDBackdropFrontLayer(MDWidget()),
|
||||
id="backdrop",
|
||||
title="Example Backdrop",
|
||||
header_text="Menu:",
|
||||
)
|
||||
)
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue