kivymd.uix

API - kivymd.uix

class kivymd.uix.MDAdaptiveWidget(**kwargs)

Common base class for rectangular and circular elevation behavior.

adaptive_height

If True, the following properties will be applied to the widget:

size_hint_y: None
height: self.minimum_height

adaptive_height is an BooleanProperty and defaults to False.

adaptive_width

If True, the following properties will be applied to the widget:

size_hint_x: None
width: self.minimum_width

adaptive_width is an BooleanProperty and defaults to False.

adaptive_size

If True, the following properties will be applied to the widget:

size_hint: None, None
size: self.minimum_size

adaptive_size is an BooleanProperty and defaults to False.

on_adaptive_height(self, instance, value)
on_adaptive_width(self, instance, value)
on_adaptive_size(self, instance, value)