add dynmaic resizing
This commit is contained in:
@@ -10,6 +10,10 @@ from .. import components as comps
|
||||
|
||||
|
||||
class Home(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.")
|
||||
|
||||
Reference in New Issue
Block a user