add dynmaic resizing

This commit is contained in:
David Rodenkirchen
2024-06-03 06:22:06 +02:00
parent bfed98e936
commit e9bcf69587
8 changed files with 32 additions and 0 deletions
+4
View File
@@ -12,6 +12,10 @@ from .. import components as comps
class About(rio.Component):
@rio.event.on_window_size_change
async def on_window_size_change(self) -> None:
await self.force_refresh()
@rio.event.on_populate
async def on_populate(self) -> None:
await self.session.set_title("EZ GG e.V. - Über den Verein")