From: Kevin A. <ka...@us...> - 2004-07-19 17:47:47
|
Update of /cvsroot/pythoncard/PythonCard/components In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11554/components Modified Files: image.py imagebutton.py Log Message: reverted back to default size of (-1, -1) this may cause problems with the resourceEditor now... Index: imagebutton.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/components/imagebutton.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** imagebutton.py 13 May 2004 02:40:24 -0000 1.17 --- imagebutton.py 19 Jul 2004 17:47:39 -0000 1.18 *************** *** 26,30 **** # KEA since 3d is Windows specific, make transparent the default 'border' : { 'presence' : 'optional', 'default' : 'transparent', 'values' : [ '3d', 'transparent', 'none' ] }, ! 'size' : { 'presence' : 'optional', 'default' : [ 50, 50 ] }, } widget.WidgetSpec.__init__( self, 'ImageButton', 'Image', events, attributes ) --- 26,30 ---- # KEA since 3d is Windows specific, make transparent the default 'border' : { 'presence' : 'optional', 'default' : 'transparent', 'values' : [ '3d', 'transparent', 'none' ] }, ! 'size' : { 'presence' : 'optional', 'default' : [ -1, -1 ] }, } widget.WidgetSpec.__init__( self, 'ImageButton', 'Image', events, attributes ) Index: image.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/components/image.py,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** image.py 13 May 2004 02:40:24 -0000 1.21 --- image.py 19 Jul 2004 17:47:39 -0000 1.22 *************** *** 20,24 **** # use ImageButton if you want images with transparent border #'border' : { 'presence' : 'optional', 'default' : '3d', 'values' : [ '3d', 'transparent', 'none' ] }, ! 'size' : { 'presence' : 'optional', 'default' : [ 50, 50 ] }, } widget.WidgetSpec.__init__( self, 'Image', 'Widget', events, attributes ) --- 20,24 ---- # use ImageButton if you want images with transparent border #'border' : { 'presence' : 'optional', 'default' : '3d', 'values' : [ '3d', 'transparent', 'none' ] }, ! 'size' : { 'presence' : 'optional', 'default' : [ -1, -1 ] }, } widget.WidgetSpec.__init__( self, 'Image', 'Widget', events, attributes ) |