Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31562/tools/resourceEditor/modules
Modified Files:
resourceOutput.py
Log Message:
added Gauge to list of components to skip on default sizes
Index: resourceOutput.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/resourceOutput.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** resourceOutput.py 18 Jul 2004 16:43:28 -0000 1.26
--- resourceOutput.py 9 Aug 2004 21:40:47 -0000 1.27
***************
*** 48,52 ****
# try and determine default sizes
width, height = aWidget.size
! if aWidget.__class__.__name__ not in ['BitmapCanvas', 'HtmlWindow', 'IEHtmlWindow']:
bestWidth, bestHeight = aWidget.GetBestSize()
if bestWidth == width:
--- 48,52 ----
# try and determine default sizes
width, height = aWidget.size
! if aWidget.__class__.__name__ not in ['BitmapCanvas', 'HtmlWindow', 'IEHtmlWindow', 'Gauge']:
bestWidth, bestHeight = aWidget.GetBestSize()
if bestWidth == width:
|