Enhance timetable page layout and improve text formatting across all pages
This commit is contained in:
parent
24264555fa
commit
c20630b934
1 changed files with 22 additions and 10 deletions
14
main.py
14
main.py
|
@ -12,7 +12,19 @@ def main(page: ft.Page):
|
|||
ft.Text("\n", size=30, weight="bold"),
|
||||
ft.Container(
|
||||
content=ft.Column([
|
||||
ft.Text("Timetable", size=16, font_family="Roboto", weight="bold"),
|
||||
ft.Row([
|
||||
ft.Icon(ft.Icons.LOOKS_6_OUTLINED, size=32, color="#FFFFFF"),
|
||||
ft.Text("Timetable", size=24, font_family="Roboto", weight="bold")
|
||||
]),
|
||||
ft.ListView(
|
||||
controls=[
|
||||
ft.Text("1. Lorem ipsum\n2. Lorem ipsum\n3. Lorem ipsum\n4. Im curious what happens if i ran out of space\n5. It just creates a new line\n6. No idea why i tested that\n7. I also want to test what happens if there is too much lines\n8. Lorem ipsum\n9. Yay now you can scroll\n10. Looks like dogshit but it works\n11. Simi simi jej simi jaj", size=16, weight="normal")
|
||||
],
|
||||
expand=True,
|
||||
spacing=10,
|
||||
padding=10,
|
||||
auto_scroll=False
|
||||
)
|
||||
]),
|
||||
margin=20,
|
||||
padding=10,
|
||||
|
|
Loading…
Add table
Reference in a new issue