From: Alex T. <ale...@us...> - 2006-05-26 16:00:31
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24717 Modified Files: multipropertyEditor.py multipropertyEditor.rsrc.py Log Message: Tweaks to layout of propertyEditor for Mac: - apparently cannot dynamically decrease size for static text, so make smaller to begin - checkbox must fit both box and label within a single space, so hack to make it bigger. Index: multipropertyEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/multipropertyEditor.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** multipropertyEditor.py 27 Oct 2005 22:54:41 -0000 1.5 --- multipropertyEditor.py 26 May 2006 16:00:16 -0000 1.6 *************** *** 632,637 **** self.add_chk("chk"+propName, (fx, y), (fsx,fsy)) else: self.components["chk"+propName].position = (fx, y) ! self.components["chk"+propName].size = (fsx, fsy) y += fsy + 5 self.components["chk"+propName].label = propName --- 632,638 ---- self.add_chk("chk"+propName, (fx, y), (fsx,fsy)) else: + # AGT make check items bigger - box+label must all fit in this space self.components["chk"+propName].position = (fx, y) ! self.components["chk"+propName].size = (fsx+100, fsy) y += fsy + 5 self.components["chk"+propName].label = propName Index: multipropertyEditor.rsrc.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/multipropertyEditor.rsrc.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** multipropertyEditor.rsrc.py 26 May 2006 13:10:32 -0000 1.4 --- multipropertyEditor.rsrc.py 26 May 2006 16:00:17 -0000 1.5 *************** *** 284,288 **** 'name':'txtborder', 'position':(160, 215), ! 'size':(84, -1), 'alignment':'right', 'text':'Border', --- 284,288 ---- 'name':'txtborder', 'position':(160, 215), ! 'size':(64, -1), 'alignment':'right', 'text':'Border', |