Set minimum size on slideshow window to prevent squishing

This commit is contained in:
pax 2026-04-05 03:46:05 -05:00
parent 48fec74dcd
commit adeb318131

View File

@ -33,6 +33,7 @@ class FullscreenPreview(QMainWindow):
def __init__(self, grid_cols: int = 3, show_actions: bool = True, parent=None) -> None:
super().__init__(parent, Qt.WindowType.Window)
self.setWindowTitle("booru-viewer — Fullscreen")
self.setMinimumSize(640, 480)
self._grid_cols = grid_cols
central = QWidget()