AnchorLayout#
#
New in version 1.0.0.
AnchorLayout
class equivalent. Simplifies working
with some widget properties. For example:
AnchorLayout#
AnchorLayout:
canvas:
Color:
rgba: app.theme_cls.primaryColor
Rectangle:
pos: self.pos
size: self.size
MDAnchorLayout#
MDAnchorLayout:
md_bg_color: app.theme_cls.primaryColor
API - kivymd.uix.anchorlayout
#
- class kivymd.uix.anchorlayout.MDAnchorLayout(*args, **kwargs)#
Anchor layout class.
For more information, see in the
DeclarativeBehavior
andThemableBehavior
andBackgroundColorBehavior
andAnchorLayout
andMDAdaptiveWidget
classes documentation.