StackLayout¶
StackLayout
class equivalent. Simplifies working
with some widget properties. For example:
StackLayout¶
StackLayout:
size_hint_y: None
height: self.minimum_height
canvas:
Color:
rgba: app.theme_cls.primary_color
Rectangle:
pos: self.pos
size: self.size
MDStackLayout¶
MDStackLayout:
adaptive_height: True
md_bg_color: app.theme_cls.primary_color
Available options are:¶
API - kivymd.uix.stacklayout
¶
- class kivymd.uix.stacklayout.MDStackLayout(**kwargs)¶
Stack layout class. See module documentation for more information.