examples working

This commit is contained in:
Will McGugan
2021-07-12 19:07:50 +01:00
parent 6fc68424d6
commit fccdcaad2e
15 changed files with 104 additions and 51 deletions

View File

@@ -30,7 +30,7 @@ class GridTest(App):
layout.add_row("row", fraction=1, max_size=10)
layout.set_repeat(True, True)
layout.add_areas(center="col-2-start|col-4-end,row-2-start|row-3-end")
layout.set_align("center", "center")
layout.set_align("stretch", "center")
# *(Placeholder() for _ in range(20)),
layout.place(*(Placeholder() for _ in range(20)), center=Placeholder())