Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8376423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:25:42+00:00 2026-06-09T15:25:42+00:00

I want to have view in which a 2 v-boxes are in two different

  • 0

I want to have view in which a 2 v-boxes are in two different tabs. My code shows no error, but the only thing that shows in a tabbed-panel without tabs. You can see that partially edited out the tutorial Carousel with some copies of the same class, but ignore that.

Ext.define("caryhartline.view.Carousel", {
    extend : 'Ext.tab.Panel',
    requires : ['Ext.carousel.Carousel'],
    config : [{
        tabBarPosition : 'top',
        items : [{
            title : 'Business',
            iconCls : 'action',
            layout : 'card',
            config : [{
                cls : 'cards',
                layout : {
                    type : 'vbox',
                    align : 'stretch'
                },
                defaults : {
                    flex : 1
                },
                items : [{
                            xtype : 'carousel',
                            items : [{
                                        html : '',
                                        cls : 'card businesstemplatepicture'
                                    }, {
                                        html : '',
                                        cls : 'card businesstemplatepicture'
                                    }]
                        }, {
                            xtype : 'carousel',
                            ui : 'light',
                            direction : 'vertical',
                            items : [{
                                        html : '',
                                        cls : 'card dark businesstemplate2picture'
                                    }, {
                                        html : 'And can also use <code>ui:light</code>.',
                                        cls : 'card dark'
                                    }, {
                                        html : 'Card #3',
                                        cls : 'card dark'
                                    }]
                        }]
            }]
        }]
    }, {
        title : 'Minimalist',
        iconCls : 'action',
        layout : 'card',
        config : {
            cls : 'cards',
            layout : {
                type : 'vbox',
                align : 'stretch'
            },
            defaults : {
                flex : 1
            },
            items : [{
                        xtype : 'carousel',
                        items : [{
                                    html : '',
                                    cls : 'card businesstemplatepicture'
                                }, {
                                    html : '',
                                    cls : 'card businesstemplatepicture'
                                }]
                    }, {
                        xtype : 'carousel',
                        ui : 'light',
                        direction : 'vertical',
                        items : [{
                                    html : '',
                                    cls : 'card dark businesstemplate2picture'
                                }, {
                                    html : 'And can also use <code>ui:light</code>.',
                                    cls : 'card dark'
                                }, {
                                    html : 'Card #3',
                                    cls : 'card dark'
                                }]
                    }]
        }
    }]
});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T15:25:43+00:00Added an answer on June 9, 2026 at 3:25 pm

    For some reason putting things inside the config is causing the issue. Not sure what is wrong. I think when we cant use nested configs in class definition. But this should work

    Ext.define("App.view.Carousel", {
        extend : 'Ext.tab.Panel',
        requires : ['Ext.carousel.Carousel'],
        config : {
            tabBarPosition : 'top',
            items : [{
                title : 'Business',
                iconCls : 'action',
                cls : 'cards',
                layout : {
                    type : 'vbox',
                    align : 'stretch'
                },
                defaults : {
                    flex : 1
                },
                items : [{
                    xtype : 'carousel',
                    items : [{
                        html : 'Test 1',
                        cls : 'card businesstemplatepicture'
                    }, {
                        html : 'Test 2',
                        cls : 'card businesstemplatepicture'
                    }]
                }, {
                    xtype : 'carousel',
                    ui : 'light',
                    direction : 'vertical',
                    items : [{
                        html : 'Test 3',
                        cls : 'card dark businesstemplate2picture'
                    }, {
                        html : 'And can also use <code>ui:light</code>.',
                        cls : 'card dark'
                    }, {
                        html : 'Card #3',
                        cls : 'card dark'
                    }]
                }]
            }, {
                title : 'Minimalist',
                iconCls : 'action',
                xtype:'panel',            
                layout:'vbox',
                defaults:{
                    flex:1
                },
                items:[{
                    xtype : 'carousel',
                    direction:'vertical',
                    items:[
                        {
                            style:'background-color:blue;'
                        },
                        {
                            style:'background-color:red;'
                        }
                    ]
                },{
                    xtype : 'carousel',
                    direction:'horizontal',
                    items:[
                        {
                            style:'background-color:green;'
                        },
                        {
                            style:'background-color:orange;'
                        }
                    ]
                    }
                ]
            }]
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have Grouped Table View in which I want to display Contact details. But
I want to implement this view But I have one question: The text which
I have a view which I want to display different things based on a
I need to have a view which shows first before other views but doesn't
I have outline view each element of which is checkbox. I want to set
I have a django view generating a bunch of data which I want to
I have a custom view with several NSTextField controls for which I want to
I have a user database which I want the admin to be able view
I have a navigation controller which also has a table view. I want to
In my view files, I have soundbites which i want to play through a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.