1. #1
    Sencha User
    Join Date
    Dec 2007
    Posts
    40
    Vote Rating
    0
    Seboss is on a distinguished road

      0  

    Default 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!

  2. #2
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,663
    Vote Rating
    6
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    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

  3. #3
    Sencha User
    Join Date
    Dec 2007
    Posts
    40
    Vote Rating
    0
    Seboss is on a distinguished road

      0  

    Default


    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.

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,781
    Vote Rating
    599
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Code:
    .myCls .x-panel-body{
    }
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  5. #5
    Sencha User
    Join Date
    Mar 2007
    Location
    Haarlem, Netherlands
    Posts
    1,243
    Vote Rating
    10
    TommyMaintz will become famous soon enough TommyMaintz will become famous soon enough

      0  

    Default


    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.

  6. #6
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,663
    Vote Rating
    6
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    ah yes, the panel in the panel in the panel
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  7. #7
    Sencha User
    Join Date
    Dec 2007
    Posts
    40
    Vote Rating
    0
    Seboss is on a distinguished road

      0  

    Default


    @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

  1. GWT-ext Panel equivalent?
    By lightblade in forum Ext GWT: Help & Discussion (1.x)
    Replies: 1
    Last Post: 21 Oct 2008, 10:15 PM
  2. javadoc Equivalent
    By putty in forum Community Discussion
    Replies: 2
    Last Post: 24 Sep 2008, 7:07 PM
  3. setContent equivalent for Panel
    By Domitian in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 30 Nov 2007, 2:33 PM
  4. Ext equivalent to YAHOO.widget.Panel
    By jratcliff in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 7 Apr 2007, 11:22 PM

Thread Participants: 3

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."