set window titles

This commit is contained in:
David Rodenkirchen
2024-05-27 18:11:26 +02:00
parent 60767f1463
commit 1c47e088e8
8 changed files with 35 additions and 0 deletions
+4
View File
@@ -15,6 +15,10 @@ class Pics(rio.Component):
self._database_service = database_service
self._active_picture: Optional[rio.URL] = None
@rio.event.on_populate
async def on_populate(self) -> None:
await self.session.set_title("EZ GG e.V. - Galerie")
def build(self) -> rio.Component:
if self._active_picture is None:
grid = rio.Grid(row_spacing=0.4, column_spacing=0.5, margin_right=1)