PDA

View Full Version : [FIXED] Component style property not being applied, documentation incorrect



meyerovb
29 Jun 2010, 2:51 PM
Documentation for the Component's style property:

http://www.sencha.com/deploy/touch/docs/?class=Ext.Component
http://www.sencha.com/deploy/touch/docs/source/Component.html#cfg-Ext.Component-style

Has an example that doesn't display anything with the touch js. If you remove "layout: 'form'" it will display the elements, however it still doesnt apply style properties.

I would very much like to use style properties in the components, is it possible in the current beta?

TommyMaintz
29 Jun 2010, 3:09 PM
Thanks for the report. This is fixed in the next release (due in an hour or so).

meyerovb
29 Jun 2010, 4:55 PM
Where should I look for announcements of new releases? Blog? Twitter?

TommyMaintz
30 Jun 2010, 9:41 AM
I think we will post it both on our Tumblr blog and Twitter. We will also probably make an announcement in the forum.

meyerovb
30 Jun 2010, 8:27 PM
Still not inserting the style tag. Is this syntax wrong?



Ext.setup({onReady: function () {
new Ext.Panel({ fullscreen: true, style: { border: '2px solid green' }, html: 'a' });
}});