27 May 2013 8:48 AM #11
Here are the release notes about the latest version:
By the way, there's also a new Sencha CMD version. The file structure generated by "sencha generate app" has changed a bit. they added a new "application.js" file inside app folder. They moved app.js outside app/ folder. packages folder is now empty by default. Only custom packages will be added to /packages, and so on.
The official theming guide is out of date.
27 May 2013 8:57 AM #12
28 May 2013 10:40 PM #13
I've just updated my app to the last version of extjs 4.2.1
and the last version of Sencha Cmd v22.214.171.1242.
Now, building my app, I see no differences between development and production version,
but the panels/tabpanels are rendered without borders
I've cleaned and built again the app, empty cache and so on...
Is that normal?
28 May 2013 10:49 PM #14
I've just tried to set border: true and it works as expected!
The problem now is that reading the API I see the border is TRUE as default.
Is this an API or compiler error?
29 May 2013 6:31 AM #15
There are two separate issues described in this thread as far as I can tell:
1. Neptune app looks different between prod and dev builds: This happens when you change the "app.theme" property without refreshing the bootstrap. The neptune theme includes several JS overrides that change the visual appearance of things that can't be changed using CSS alone. In your app's root directory there is a "bootstrap.js" file which is used to load the individual source files when running the app in dev mode. The neptune overrides must be included in the bootstrap, or the app will not look the same in dev mode. After changing the theme just run "sencha app refresh" to update the bootstrap. If you view the bootstrap file after refreshing the app you should see several class names beginning with "ExtThemeNeptune"
2. Borders vs no borders: Neptune is a mostly borderless theme by default, so Panels will default to "border:false". You can always turn borders back on by configuring a panel with "border:true"Phil Guerrant
Ext JS - Development Team
29 May 2013 6:49 AM #16
29 May 2013 7:50 AM #17
I am having the same problem with a difference between development and production. When I run 'sencha app refresh' after changing app.theme=ext-theme-classic to app.theme=ext-theme-neptune in the sencha.cfg file and running 'sencha app build', I don't see any change to the ext/bootstrap.js file. What else do I have to do to properly change the theme from classic to neptune? I am using app.framework.version=126.96.36.1993 & app.cmd.version=188.8.131.522
29 May 2013 8:15 AM #18
Nevermind. I was looking at the orignal ext/bootstrap.js when I should have been looking at scripts/bootstrap.js.
29 May 2013 8:39 AM #19
defaultButtonUI" to "plain-toolbar". You can change the defaultButtonUI to "default" on your toolbar if you want.Phil Guerrant
Ext JS - Development Team