commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9401 - trunk/gnue-forms/src/uidrivers/qt3


From: johannes
Subject: [gnue] r9401 - trunk/gnue-forms/src/uidrivers/qt3
Date: Thu, 22 Feb 2007 09:03:11 -0600 (CST)

Author: johannes
Date: 2007-02-22 09:03:10 -0600 (Thu, 22 Feb 2007)
New Revision: 9401

Modified:
   trunk/gnue-forms/src/uidrivers/qt3/UIdriver.py
Log:
Don't add extra space to the cell height


Modified: trunk/gnue-forms/src/uidrivers/qt3/UIdriver.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/qt3/UIdriver.py      2007-02-22 14:46:35 UTC 
(rev 9400)
+++ trunk/gnue-forms/src/uidrivers/qt3/UIdriver.py      2007-02-22 15:03:10 UTC 
(rev 9401)
@@ -207,7 +207,7 @@
 
         text = "".join([chr(i) for i in range(48, 127)])
         self.cell_width = frame.fontMetrics().width(text) / len(text) + 1
-        self.cell_height = max([i[1] for i in result.values()]) + 2
+        self.cell_height = max([i[1] for i in result.values()])
 
         bt = qt.QPushButton('Sample', frame)
         mt = qt.QTextEdit(frame)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]