mirror of
https://github.com/markqvist/Sideband.git
synced 2025-08-02 11:36:14 -04:00
Updated kivymd
This commit is contained in:
parent
c6df8b851b
commit
abcf173cc8
160 changed files with 11617 additions and 6545 deletions
|
@ -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.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue