Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17836/modules
Modified Files:
multipropertyEditor.py
Log Message:
Install patch (modified) for Select-All and Delete (multiple components).
(Thanks to Roberto Ropsario for the original version of this patch).
Remove diagnostic prints for co-ordinates.
Index: multipropertyEditor.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/multipropertyEditor.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** multipropertyEditor.py 27 Jul 2005 22:54:34 -0000 1.2
--- multipropertyEditor.py 29 Jul 2005 01:22:23 -0000 1.3
***************
*** 593,597 ****
fsx, fsy = self.components.fldbackgroundColor.GetBestSize() ## + (20,10)
fx = fx + fdefx - fsx
! print fx, fy, fsx, fsy
# Color buttons are odd, so use the font button for button positioning
--- 593,597 ----
fsx, fsy = self.components.fldbackgroundColor.GetBestSize() ## + (20,10)
fx = fx + fdefx - fsx
! #rint fx, fy, fsx, fsy
# Color buttons are odd, so use the font button for button positioning
***************
*** 599,606 ****
bdefx, bdefy = self.components.fntfont.size
bsx, bsy = self.components.fntfont.GetBestSize() ## + (20,10)
! print bx, by, bdefx, bdefy, bsx, bsy
# bx = bx + bdefx - bsx
bsx = bdefx
! print bx, by, bsx, bsy
y = maxy+fsy
--- 599,606 ----
bdefx, bdefy = self.components.fntfont.size
bsx, bsy = self.components.fntfont.GetBestSize() ## + (20,10)
! #rint bx, by, bdefx, bdefy, bsx, bsy
# bx = bx + bdefx - bsx
bsx = bdefx
! #rint bx, by, bsx, bsy
y = maxy+fsy
|