From d060d4d2df66ff58b016947376236d07b9ec2c0e Mon Sep 17 00:00:00 2001 From: Auric Vente Date: Thu, 25 Jul 2024 08:22:26 -0600 Subject: [PATCH] Mods --- cromulant/game.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cromulant/game.py b/cromulant/game.py index 530f9f4..8f38522 100644 --- a/cromulant/game.py +++ b/cromulant/game.py @@ -13,6 +13,7 @@ from PySide6.QtGui import QCursor # type: ignore from PySide6.QtGui import QMouseEvent from PySide6.QtGui import QPixmap from PySide6.QtGui import QAction +from PySide6.QtCore import QSize from PySide6.QtCore import QTimer # type: ignore from PySide6.QtCore import Qt @@ -220,7 +221,8 @@ class Game: ) image_label.setPixmap(scaled_pixmap) - image_label.setFixedSize(scaled_pixmap.size()) + adjusted_size = scaled_pixmap.size() + QSize(4, 4) + image_label.setFixedSize(adjusted_size) if color: rgb = Utils.get_rgb(color)