Results 1 to 10 of 11

Thread: [FIXED-162] Docked back button in tabpanel's tabbar not appearing correctly

Threaded View

Previous Post Previous Post   Next Post Next Post
    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #11
    Sencha User =NR='s Avatar
    Join Date
    Mar 2013
    Location
    Singapore
    Posts
    115
    Vote Rating
    -1
      0  

    Default

    I'm getting this error while trying to do this..

    Hope that you can explain to why this happened:

    Uncaught Error: [ERROR][Ext.Container#doAdd] Adding a card to a tab container without specifying any tab configuration

    General structure of my view:
    • Tabpanel
      • fullscreen: true

        • item 1 => list
        • item 2 => tabpanel with supposedly docked button on the left
          • layout fit
    the dockedItems for the button need to be outside of tabbar, right?

    Quote Originally Posted by evant View Post
    Code:
    Ext.setup({
        onReady: function(){
            var t = {
                title: 'Tab Tab Tab Tab Tab Tab'
            };
            new Ext.TabPanel({
                fullscreen: true,
                dockedItems: [{
                    dock: 'left',
                    xtype: 'button',
                    text: 'A',
                    stretch: false
                }],
                tabBar: {
                    scroll: 'horizontal'
                },
                items: [t, t, t, t, t]
            });
        }
    });

    UPDATE: I did not put title for dockedItems - button that is the reason of the error
    Last edited by =NR=; 21 Aug 2013 at 8:23 PM. Reason: solution found

Similar Threads

  1. tabPanel Docked on top
    By Tuscon in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 1 May 2012, 6:20 AM
  2. Replies: 2
    Last Post: 30 Jul 2010, 6:50 PM
  3. [FIXED-162][3.0] VBoxLayout scrollOffset
    By Condor in forum Ext 3.x: Bugs
    Replies: 1
    Last Post: 23 Aug 2009, 6:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •