Automatically resize the row height on the VolumeSelectionWindow

This commit is contained in:
Timmy Welch 2022-11-28 15:34:15 -08:00
parent 70dcb9768a
commit ad7b270650
No known key found for this signature in database

View File

@ -482,6 +482,9 @@ class VolumeSelectionWindow(QtWidgets.QDialog):
# Default the tableWidget to truncate series names
self.twList.setColumnWidth(0, rwidth)
# Resize row height so the whole series can still be seen
self.twList.resizeRowsToContents()
def showEvent(self, event: QtGui.QShowEvent) -> None:
self.perform_query()
if not self.ct_search_results: