PDA

View Full Version : [SOLVED] Where baseCls Strings are found ?



marcossoft
3 Apr 2008, 4:06 PM
I'm quite new to extjs and I'm playing with the 2.0 version. In the API I can see that Ext.Form.FormPanel has several config options and one of them is called 'baseCls'.

When I run the Absolute Layout Sample I can see that it's constructed using the value 'x-plain' to this property ...

Question.: Where can I find the eligible Strings for this property ? The API tells me nothing :-/



Ext.onReady(function() {
var form = new Ext.form.FormPanel({
baseCls: 'x-plain',


Thank you very much !!!
Marcos

evant
3 Apr 2008, 4:22 PM
It's for you to provide a CSS class. The value can be whatever you want.

marcossoft
3 Apr 2008, 4:33 PM
It's for you to provide a CSS class. The value can be whatever you want.
I mean 'where' the author found the 'x-plain' class ... she certainly knew that this class have a huge impact on the final FormPanel .... I just want to know 'where' she found it ....

Thanks
Marcos

evant
3 Apr 2008, 4:36 PM
Look in ext-all.css, it contains of the classes used by Ext.