Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4304/modules
Modified Files:
multiresourceOutput.py resourceOutput.py
Log Message:
Added FloatCanvas to the list of components which always need their size written out.
Index: multiresourceOutput.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/multiresourceOutput.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** multiresourceOutput.py 27 Jul 2005 21:51:30 -0000 1.1
--- multiresourceOutput.py 27 Oct 2005 22:58:00 -0000 1.2
***************
*** 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:
--- 50,54 ----
if aWidget.__class__.__name__ in imgWidgets:
width, height = aWidget._size
! elif aWidget.__class__.__name__ not in ['BitmapCanvas', 'HtmlWindow', 'IEHtmlWindow', 'Gauge', 'StaticBox', 'FloatCanvas']:
bestWidth, bestHeight = aWidget.GetBestSize()
if bestWidth == width:
Index: resourceOutput.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/resourceOutput.py,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** resourceOutput.py 24 Oct 2004 23:52:37 -0000 1.32
--- resourceOutput.py 27 Oct 2005 22:58:00 -0000 1.33
***************
*** 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:
--- 50,54 ----
if aWidget.__class__.__name__ in imgWidgets:
width, height = aWidget._size
! elif aWidget.__class__.__name__ not in ['BitmapCanvas', 'HtmlWindow', 'IEHtmlWindow', 'Gauge', 'StaticBox', 'FloatCanvas']:
bestWidth, bestHeight = aWidget.GetBestSize()
if bestWidth == width:
|