[CLOSED] TabPanel frame method

  1. #1

    [CLOSED] TabPanel frame method

    Hi,

    This is probably be a simple question. Is there any replacement for the Tab header frame() method in 3.2? The tabEl property is no longer available.

    var tabPanel=Ext.getCmp("TabPanel1");
    var tab=tabPanel.getComponent("Tab1");
    Ext.get(tab.tabEl).frame();
    Last edited by Daniil; Aug 14, 2015 at 11:40 AM. Reason: [CLOSED]
  2. #2
    Hi Vadym,

    Please use:
    panel.tab.getEl().frame();
    I.e. replace .tabEl with .tab.getEl()
    Last edited by Daniil; Aug 13, 2015 at 7:49 PM.
  3. #3
    Hi Daniil,

    panel.tab.getEl().frame();
    frames the whole tab body element whereas the legacy call affects the tab header only. If there's no other API replacement available, we could put up with this UI change.
  4. #4
    Do you use it like that?
    var tabPanel = Ext.getCmp("TabPanel1"),
        tab = tabPanel.getComponent("Tab1");
    
    tab.tab.getEl().frame();
  5. #5
    Thanks much for this, Daniil! That change's creating the desired behavior. Please feel free to close this thread.

Similar Threads

  1. Replies: 1
    Last Post: Jan 26, 2015, 3:42 PM
  2. Replies: 1
    Last Post: Feb 18, 2014, 8:07 PM
  3. [CLOSED] TabPanel Frame loading issue
    By WDewispelaere in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Oct 30, 2013, 1:31 PM
  4. Replies: 2
    Last Post: Oct 12, 2011, 7:49 AM
  5. [CLOSED] [1.0] Issuewith tabPanel border when frame=true
    By edigital in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 09, 2010, 12:37 PM

Tags for this Thread

Posting Permissions