From: Alex T. <ale...@us...> - 2004-09-30 23:05:06
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17777/tools/resourceEditor/modules Modified Files: propertyEditor.py resourceOutput.py Log Message: Added horizontalScrollbar to TextArea, updated ResourceEditor to include it. Index: propertyEditor.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/propertyEditor.py,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** propertyEditor.py 15 Sep 2004 17:43:29 -0000 1.54 --- propertyEditor.py 30 Sep 2004 23:04:53 -0000 1.55 *************** *** 184,190 **** def updateComponent(self): # make these attributes of self, since they are duplicated below in displayProperty ! checkItems = ['enabled', 'visible', 'editable', 'checked', 'default', 'rules', 'labels', 'ticks'] popItems = ['layout', 'border', 'style', 'alignment', 'stringSelection'] ! cantmodify = ['id', 'name', 'alignment', 'layout', 'style', 'border', \ 'min', 'max', 'columns', 'rules', 'labels', 'ticks'] --- 184,190 ---- def updateComponent(self): # make these attributes of self, since they are duplicated below in displayProperty ! checkItems = ['enabled', 'visible', 'editable', 'checked', 'default', 'rules', 'labels', 'ticks', 'horizontalScrollbar'] popItems = ['layout', 'border', 'style', 'alignment', 'stringSelection'] ! cantmodify = ['id', 'name', 'alignment', 'layout', 'style', 'border', 'horizontalScrollbar', \ 'min', 'max', 'columns', 'rules', 'labels', 'ticks'] *************** *** 358,362 **** def displayProperty(self, wName, wClass, propName): ! checkItems = ['enabled', 'visible', 'editable', 'checked', 'default', 'rules', 'labels', 'ticks'] popItems = ['layout', 'border', 'style', 'alignment', 'stringSelection'] --- 358,362 ---- def displayProperty(self, wName, wClass, propName): ! checkItems = ['enabled', 'visible', 'editable', 'checked', 'default', 'rules', 'labels', 'ticks', 'horizontalScrollbar'] popItems = ['layout', 'border', 'style', 'alignment', 'stringSelection'] Index: resourceOutput.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/resourceOutput.py,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** resourceOutput.py 16 Aug 2004 20:26:13 -0000 1.29 --- resourceOutput.py 30 Sep 2004 23:04:53 -0000 1.30 *************** *** 101,105 **** else: if (key in ['editable', 'enabled', 'visible'] and value == True) or \ ! (key in ['checked', 'default'] and value == False): # don't include default values pass --- 101,105 ---- else: if (key in ['editable', 'enabled', 'visible'] and value == True) or \ ! (key in ['checked', 'default', 'horizontalScrollbar'] and value == False): # don't include default values pass |