-
17 Feb 2011 2:01 AM #1
Equivalent of Ext.Panel.bodyCssClass
Equivalent of Ext.Panel.bodyCssClass
Hi,
ExtJS 3.x Panels have a bodyCssClass property but ExtJS 4.x Panels don't.
Is there an equivalent property in 4.0? If not, how can I achieve the same effect?
TIA!
-
17 Feb 2011 2:30 AM #2
you still have cls and style properties.
Also there is a new property "ui" which gives the possibility to prestyle a set of components.vg Steffen
--------------------------------------
Release Manager of TYPO3 4.5
energlobe.de - german online magazine
-
17 Feb 2011 2:36 AM #3
Well yes, but I don't find an obvious way to specify a CSS class for the panel body content.
From what I've seen in the API docs, bodyBorder/Margin/Padding are there, but no class.
-
17 Feb 2011 2:50 AM #4
Code:.myCls .x-panel-body{ }Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
17 Feb 2011 3:29 AM #5Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Haarlem, Netherlands
- Posts
- 1,235
- Vote Rating
- 4
Yeah but that would target all panel body's nested in that Panel. We will make sure to have something like bodyCls for the final release.
-
17 Feb 2011 3:36 AM #6
ah yes, the panel in the panel in the panel
vg Steffen
--------------------------------------
Release Manager of TYPO3 4.5
energlobe.de - german online magazine
-
17 Feb 2011 4:21 AM #7
@evant: Thanks, I haven't thought of that and it does the trick for my purpose (no nested panels)
@TommyMaintz: that would be great, the level of fine-grained customization Ext JS 3.x provides is one of its main strengths in my opinion.
Similar Threads
-
GWT-ext Panel equivalent?
By lightblade in forum Ext GWT: Help & Discussion (1.x)Replies: 1Last Post: 21 Oct 2008, 10:15 PM -
javadoc Equivalent
By putty in forum Community DiscussionReplies: 2Last Post: 24 Sep 2008, 7:07 PM -
setContent equivalent for Panel
By Domitian in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 30 Nov 2007, 2:33 PM -
Ext equivalent to YAHOO.widget.Panel
By jratcliff in forum Ext 2.x: Help & DiscussionReplies: 6Last Post: 7 Apr 2007, 11:22 PM


Reply With Quote

