Thanks to everyone for helping to clarify this topic for me. It's wonderful having an active community where people help fill in the gaps!
Type: Posts; User: bclover
Thanks to everyone for helping to clarify this topic for me. It's wonderful having an active community where people help fill in the gaps!
Ahhh I see there's a metadata folder in the IntelliJ project and if I edit the file in there, and NOT the JavaScript file then my changes will be reflected in Sencha Architect when I re-open it. Odd,...
I changed the JS file...should I edit something else?
Thanks for the reply! Maybe I'm doing something wrong...here's what I did:
After a quick test, it appears Architect does NOT detect changes in external IDEs .
Here's what I did:
1. I...
Despite the claim that Architect 2 integrates with your favorite IDE I have found that integration to be lacking. Code changes made in JetBrains' IntelliJ IDEA 11.1 are not recognized by Architect...
For anyone else that is new to Sencha, I just wanted to point out that custom style settings are compiled in with the default css and added in at the bottom of the file...AFTER the default css...
Using !important sounds like a bad practice.
"!important declarations should not be used unless they are absolutely necessary after all other avenues have been exhausted. If you use !important...
I see, so does this mean that the custom CSS I specify is compiled into the CSS before the default Sencha CSS styles? Thus why the Sencha styles override my stuff unless I use the important flag?
Thanks Mitchell that worked like a charm! Can you point me to some documentation on what and when to use the !important flag. This is the first time I've come across it.
How do I remove the padding that is being applied to list items via the x-list-item-label div?
Using Chrome's Developer Tools I can see that it is applying padding.
.x-list .x-list-item...
Okay thanks, so I guess that means there is no convenience method such as list.getActiveItemIndex() and I must do it manually myself.
The documentation says that returns me an array of records. I do not want an array of records, I want to know the index position of the selected record in the list. Basically, did the user click on...
JetBrains has two very good options. IntelliJ IDEA (http://www.jetbrains.com/idea/buy/index.jsp) or WebStorm. IDEA is their full blown editor while WebStorm is a cheaper, scaled down version. ...
Is there a way to get the index number of the selected item in a list?
Would be nice if there was something like myList.getActiveItemIndex()?
Can you please specify the best practices for setting up event listeners in Controllers? I have seen them added to the init() area, as well as the config() area. I have also seen things set up via ...
@mitchellsimoens Thanks for the tip on passing in the app into the init function as an argument.
One other thing I have been trying to figure out. Why can't I dispatch an event from my...
Perhaps this approach accomplishes what you want:
Ext.application({
views: ['MainView'],
name: 'MyAppName',
controllers: ['MainController'],