From 65a910e54a6f206533071891d600348cc407b416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD=D0=BE=D0=B2=20=D0=AE=D1=80=D0=B8?= =?UTF-8?q?=D0=B9?= Date: Sat, 18 May 2024 16:05:20 +0300 Subject: [PATCH] Added an inherited class for the `FitImage` widget --- kivymd/uix/fitimage/fitimage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kivymd/uix/fitimage/fitimage.py b/kivymd/uix/fitimage/fitimage.py index 5f26d4430..b28c6bd36 100644 --- a/kivymd/uix/fitimage/fitimage.py +++ b/kivymd/uix/fitimage/fitimage.py @@ -85,9 +85,10 @@ def build(self): from kivy.uix.image import AsyncImage from kivymd.uix.behaviors import StencilBehavior +from kivymd.uix.behaviors import DeclarativeBehavior -class FitImage(AsyncImage, StencilBehavior): +class FitImage(DeclarativeBehavior, StencilBehavior, AsyncImage): """ Fit image class.