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