PDA

View Full Version : Sencha Architect 2 Renaming Component



ChrisKalt
22 Aug 2012, 11:08 AM
I'm running through the Sencha Architect 2 tutorial for creating the CarListing desktop application. One of the first things is to rename the MyPanel to Car Listing by double clicking on the Title of the Panel dropped into the canvas. I see the name change there however it remains MyPanel in the Project Inspector as well as in the source code that is generated.

How do I change the name from MyPanel so that it is reflected in the Inspector and the source files for the class names?

( I happen to have selected Ext JS 4.1 )

Thank you

aconran
22 Aug 2012, 2:14 PM
Double clicking the title will change the `title` but it doesn't change the `userClassName`.

Change the `userClassName` to change the name of the class.

ChrisKalt
22 Aug 2012, 4:16 PM
Thank you! Worked like a charm.