projects
/
ffpreview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c740d2
)
* Botch-fixed initial window height calculation.
author
Urban Wallasch
<urban.wallasch@freenet.de>
Sun, 9 May 2021 15:27:59 +0000
(17:27 +0200)
committer
Urban Wallasch
<urban.wallasch@freenet.de>
Sun, 9 May 2021 15:27:59 +0000
(17:27 +0200)
ffpreview.py
patch
|
blob
|
history
diff --git
a/ffpreview.py
b/ffpreview.py
index 0fe02005366c9425e4832a5d73d4e4576b013829..eb68b8e514e0f16c54012395196f26c8d5ee2d6a 100755
(executable)
--- a/
ffpreview.py
+++ b/
ffpreview.py
@@
-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()