Replies: 1 comment
-
Here you go: import flet
from flet import Column, Container, Page, Row, Text
def main(page: Page):
main_content = Column(scroll="auto")
for i in range(100):
main_content.controls.append(Text(f"Line {i}"))
page.padding = 0
page.spacing = 0
page.horizontal_alignment = "stretch"
page.add(
Container(main_content, padding=10, expand=True),
Row([Container(Text("Footer"), bgcolor="yellow", padding=5, expand=True)]),
)
flet.app(target=main) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A typical layout pattern for a desktop app is having a footer at the bottom of the application window.
Looking for a way to implement this with
flet
.Beta Was this translation helpful? Give feedback.
All reactions