PDA

View Full Version : iconCls and glyph config missing in Ext.panel.Tool for 6.0.3.130?



dan.everest
12 May 2017, 3:56 AM
Hello, we've been working an older nightly build for ExtJS 6.0.3.128, and I went to use the 'iconCls' configuration option as specified in the v6.0.2 documentation for Tools (http://docs.sencha.com/extjs/6.0.2/classic/Ext.panel.Tool.html). It wasn't working, so I did a little inspecting and noticed that these options were not available in our nightly.

So I went to the support site, downloaded the latest v6.0.3 nightly (May 12th, 2017), inspected the code, and noticed it was missing there as well (just look for the method 'calculateClassName()').

Is this option to be removed? Or is it an option that was added in 6.0.2 that was not merged into 6.0.3?

Thanks
Dan

evant
12 May 2017, 4:05 AM
It seems like the docs that you've linked to are actually pointing at 6.2.0. Neither of those configs are in 6.0.x.

Will move this over to the docs forum to see if it's just pointing to the wrong place or something else is going on.

dan.everest
12 May 2017, 4:13 AM
Ha! Yes, I was just about to mention that it looked like a documentation issue as the source files, when referenced via the documentation, are identical:
v6.0.2: http://docs.sencha.com/extjs/6.0.2/classic/src/Tool.js.html
v6.2.1: http://docs.sencha.com/extjs/6.2.1/classic/src/Tool.js.html

Gary Schlosberg
17 May 2017, 8:35 AM
Thanks for the report! I have opened a documentation bug in our bug tracker.

dan.everest
12 Jun 2017, 3:57 AM
Thanks for the report! I have opened a documentation bug in our bug tracker.
Just curious when this will be fixed. I ran into another documentation issue this morning when trying to use the 'actions' config as defined in (what I thought was) the 6.0.2 documentation, when in reality the 'actions' config was introduced in 6.2. I realize its not a 'bug', per se, but it is a bit frustrating when I spend 15-20 minutes trying to use something, only to learn the reason why it isn't working is because it doesn't exist in the version I thought I was referencing.

For me, the only thing worse than no documentation is incorrect documentation...