Updated kivymd

This commit is contained in:
Mark Qvist 2022-10-02 17:16:59 +02:00
parent c6df8b851b
commit abcf173cc8
160 changed files with 11617 additions and 6545 deletions

View file

@ -8,7 +8,7 @@ with some widget properties. For example:
StackLayout
-----------
.. code-block::
.. code-block:: kv
StackLayout:
size_hint_y: None
@ -24,7 +24,7 @@ StackLayout
MDStackLayout
-------------
.. code-block::
.. code-block:: kv
MDStackLayout:
adaptive_height: True
@ -83,10 +83,16 @@ Equivalent
size: self.minimum_size
"""
__all__ = ("MDStackLayout",)
from kivy.uix.stacklayout import StackLayout
from kivymd.uix import MDAdaptiveWidget
from kivymd.uix.behaviors import DeclarativeBehavior
class MDStackLayout(StackLayout, MDAdaptiveWidget):
pass
class MDStackLayout(DeclarativeBehavior, StackLayout, MDAdaptiveWidget):
"""
Stack layout class. For more information, see in the
:class:`~kivy.uix.stacklayout.StackLayout` class documentation.
"""