[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r9323 - trunk/gnue-forms/src/uidrivers/wx26
From: |
reinhard |
Subject: |
[gnue] r9323 - trunk/gnue-forms/src/uidrivers/wx26 |
Date: |
Thu, 18 Jan 2007 06:53:48 -0600 (CST) |
Author: reinhard
Date: 2007-01-18 06:53:43 -0600 (Thu, 18 Jan 2007)
New Revision: 9323
Modified:
trunk/gnue-forms/src/uidrivers/wx26/UIdriver.py
Log:
Added label to list of widgets to test for size.
Modified: trunk/gnue-forms/src/uidrivers/wx26/UIdriver.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/UIdriver.py 2007-01-17 15:36:56 UTC
(rev 9322)
+++ trunk/gnue-forms/src/uidrivers/wx26/UIdriver.py 2007-01-18 12:53:43 UTC
(rev 9323)
@@ -102,6 +102,9 @@
combo = wx.ComboBox (frame, wx.ID_ANY)
result['dropdown'] = combo.GetBestSize()
+ label = wx.StaticText (frame, wx.ID_ANY)
+ result['label'] = label.GetBestSize()
+
# Get the height and width of a form-cell for which we use the tallest
# control and the avarage character width of the application font
cellHeight = max([i[1] for i in result.values()]) + 2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r9323 - trunk/gnue-forms/src/uidrivers/wx26,
reinhard <=