12ftguru
31 Mar 2010, 8:04 AM
Congrats on the new release of the designer!
I am currently fiddling about with it and I have run into a small hitch: I have a panel with a table layout and normally to pad out the cells I would do something like:
defaults: {
bodyStyle:'padding:20px'
}
However, when I try to click on "[object]..." in the Ext Designer for Ext.Container -> Defaults I get a text area (with no bottom border)and when I type things in the field and click away, I get syntax errors from the designer. I have tried entering:
bodyStyle: 'padding:20px;'
[bodyStyle: 'padding:20px;']
both of these return errors. I also tried:
{bodyStyle: 'padding:20px;'}
which didn't return an error, but also did not pad out the cells.
What is the expected syntax for this kind of "[object]..." area (or am I missing something more basic)?
I am currently fiddling about with it and I have run into a small hitch: I have a panel with a table layout and normally to pad out the cells I would do something like:
defaults: {
bodyStyle:'padding:20px'
}
However, when I try to click on "[object]..." in the Ext Designer for Ext.Container -> Defaults I get a text area (with no bottom border)and when I type things in the field and click away, I get syntax errors from the designer. I have tried entering:
bodyStyle: 'padding:20px;'
[bodyStyle: 'padding:20px;']
both of these return errors. I also tried:
{bodyStyle: 'padding:20px;'}
which didn't return an error, but also did not pad out the cells.
What is the expected syntax for this kind of "[object]..." area (or am I missing something more basic)?