Skip to content

Commit

Permalink
Added an inherited class for the FitImage widget
Browse files Browse the repository at this point in the history
  • Loading branch information
HeaTTheatR committed May 18, 2024
1 parent 8a82e61 commit 65a910e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kivymd/uix/fitimage/fitimage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 65a910e

Please sign in to comment.