diff --git a/wideboy/scenes/default/tile_grid.py b/wideboy/scenes/default/tile_grid.py index 6537ad3..1b78028 100644 --- a/wideboy/scenes/default/tile_grid.py +++ b/wideboy/scenes/default/tile_grid.py @@ -249,6 +249,8 @@ def label(self): class BaseCellTemperate(GridCell): + width = 60 + @property def label(self): return f"{round(self.value)}°" diff --git a/wideboy/sprites/tile_grid/__init__.py b/wideboy/sprites/tile_grid/__init__.py index 872256b..e0ff27d 100644 --- a/wideboy/sprites/tile_grid/__init__.py +++ b/wideboy/sprites/tile_grid/__init__.py @@ -62,7 +62,6 @@ class TileGridCell(pygame.sprite.Sprite, StyleMixin): style: Dict width: int = TILE_GRID_CELL_WIDTH height: int = TILE_GRID_CELL_HEIGHT - visible: bool = True label: str = "" def __init__(self, state):