|
From: Kevin A. <al...@se...> - 2002-02-24 01:36:36
|
I changed the resourceEditor so that it no longer relies on the runtime Property Editor. I've checked in the changes to cvs. I created a Property Editor background (modules\propertyEditor.py) based on the runtime Property Editor so that the resourceEditor would be a little more intuitive. Eventually, I'm going to redo the layout of the window, but not for this next release. The changes I made should make the resourceEditor more intuitive and streamline the layout process. When you Add a component a unique name is automatically chosen and the component is placed on the layout; the user is no longer required to use the TextEntryDialog to set values for the initialization dictionary. When you select a component in the Property Editor, it is automatically selected on the layout. The resizing handles are automatically updated to reflect the new position and size of a component. You can change attributes that were previously read-only: name, alignment, layout, style, border. The resourceEditor will recreate the component and put it back in the layout in its original order. Note that I am not locking the screen yet, so updates to the layout and Property Editor lists are shown while the component order is updated. I plan to hide the updates before the next release. With these changes, there should no longer be a need to manually edit a .rsrc.py file. Since I'm still testing the changes, the Shell is automatically opened when the resourceEditor starts up and the new window is titled "Property Editor 2" so it isn't confused with the regular runtime Property Editor. I would appreciate feedback and testing of the changes from anyone that is using the cvs version of PythonCardPrototype. I don't want to make a new release until I'm sure the kinks are worked out. In case of bugs, please only work on duplicates of resource files to avoid losing any data. ka |