|
From: Kevin A. <ka...@us...> - 2004-08-16 20:26:21
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25770/tools/resourceEditor/modules Modified Files: resourceOutput.py Log Message: workarounds for StaticBox best size and mouse offsets Index: resourceOutput.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/resourceOutput.py,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** resourceOutput.py 11 Aug 2004 01:58:03 -0000 1.28 --- resourceOutput.py 16 Aug 2004 20:26:13 -0000 1.29 *************** *** 50,54 **** if aWidget.__class__.__name__ in imgWidgets: width, height = aWidget._size ! elif aWidget.__class__.__name__ not in ['BitmapCanvas', 'HtmlWindow', 'IEHtmlWindow', 'Gauge']: bestWidth, bestHeight = aWidget.GetBestSize() if bestWidth == width: --- 50,54 ---- if aWidget.__class__.__name__ in imgWidgets: width, height = aWidget._size ! elif aWidget.__class__.__name__ not in ['BitmapCanvas', 'HtmlWindow', 'IEHtmlWindow', 'Gauge', 'StaticBox']: bestWidth, bestHeight = aWidget.GetBestSize() if bestWidth == width: |