Set dummy width and height for ThumbBrowserEntry, cause height will be used to calculate the height of the scroll pane. Positions also need to be set as a dummy, cause no method allows only width or height.

This commit is contained in:
Christian-Kr
2023-06-19 19:05:42 +02:00
parent b0714e7c00
commit a4eeb66145

View File

@@ -781,6 +781,7 @@ void ThumbBrowserBase::arrangeFiles(ThumbBrowserEntryBase* entry)
for (int i = 0; ct < fd.size() && i < numOfCols; ++i, ++ct) {
for (; ct < fd.size() && fd[ct]->filtered; ++ct) {
fd[ct]->setPosition(0, 0, colWidths[i], rowHeight);
fd[ct]->drawable = false;
}