first commit

This commit is contained in:
Yura 2024-09-15 15:12:16 +03:00
commit 417e54da96
5696 changed files with 900003 additions and 0 deletions

View file

@ -0,0 +1 @@
from .scalewidget import ScaleWidget

View file

@ -0,0 +1,34 @@
"""
Templates/ScaleWidget
=====================
.. deprecated:: 1.1.0
Base class for controlling the scale of the widget.
.. note:: `ScaleWidget` class has been deprecated. Please use
`ScaleBehavior <https://kivymd.readthedocs.io/en/latest/behaviors/scale/>`_
class instead.
"""
__all__ = ("ScaleWidget",)
from kivy import Logger
from kivymd.uix.behaviors import ScaleBehavior
class ScaleWidget(ScaleBehavior):
"""
.. deprecated:: 1.1.0
Use :class:`~kivymd.uix.behaviors.scale_behavior.ScaleBehavior`
class instead.
"""
def __init__(self, **kwargs):
super().__init__(**kwargs)
Logger.warning(
"KivyMD: "
"The `ScaleWidget` class has been deprecated. "
"Use the `ScaleBehavior` class instead."
)