Helpviewer/Download/DownloadManager.py

changeset 2058
f3c50aa83266
parent 1131
7781e396c903
child 2403
e3d7a861547c
diff -r 9165261f3e06 -r f3c50aa83266 Helpviewer/Download/DownloadManager.py
--- a/Helpviewer/Download/DownloadManager.py	Sat Sep 22 18:34:09 2012 +0200
+++ b/Helpviewer/Download/DownloadManager.py	Sat Sep 22 19:05:29 2012 +0200
@@ -215,7 +215,7 @@
         self.downloadsView.setIndexWidget(self.__model.index(row, 0), itm)
         icon = self.style().standardIcon(QStyle.SP_FileIcon)
         itm.setIcon(icon)
-        self.downloadsView.setRowHeight(row, itm.sizeHint().height())
+        self.downloadsView.setRowHeight(row, itm.sizeHint().height() * 1.5)
         # just in case the download finished before the constructor returned
         self.__updateRow(itm)
         self.changeOccurred()
@@ -245,7 +245,7 @@
         
         oldHeight = self.downloadsView.rowHeight(row)
         self.downloadsView.setRowHeight(row,
-            max(oldHeight, itm.minimumSizeHint().height()))
+            max(oldHeight, itm.minimumSizeHint().height() * 1.5))
         
         remove = False
         globalSettings = QWebSettings.globalSettings()

eric ide

mercurial