* Botch-fixed initial window height calculation.
authorUrban Wallasch <urban.wallasch@freenet.de>
Sun, 9 May 2021 15:27:59 +0000 (17:27 +0200)
committerUrban Wallasch <urban.wallasch@freenet.de>
Sun, 9 May 2021 15:27:59 +0000 (17:27 +0200)
ffpreview.py

index 0fe02005366c9425e4832a5d73d4e4576b013829..eb68b8e514e0f16c54012395196f26c8d5ee2d6a 100755 (executable)
@@ -748,7 +748,7 @@ except Exception as e:
 # fix window geometry, start main loop
 
 scwidth = qApp.style().pixelMetric(QStyle.PM_ScrollBarExtent) * 2
-root.resize(tlwidth*cfg['grid_columns']+scwidth, tlheight*cfg['grid_rows']+scwidth)
+root.resize(tlwidth*cfg['grid_columns']+scwidth, (tlheight + 6)*cfg['grid_rows']+22)
 root.setMinimumSize(tlwidth+scwidth, tlheight+scwidth)
 
 progbar.hide()