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

  • Home
  • SEARCH
  • 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 5959587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:42:21+00:00 2026-05-22T18:42:21+00:00

new Ext.TabPanel({ fullscreen: true, cardSwitchAnimation: ‘slide’, ui: ‘dark’, items: [home, about] }); For the

  • 0
new Ext.TabPanel({
            fullscreen: true,
            cardSwitchAnimation: 'slide',
            ui: 'dark',
            items: [home, about]
        });

For the ui, can I specify like, a color instead of dark and light? How can I make it a specific color or background image of our choice?

Thanks.

  • 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-05-22T18:42:23+00:00Added an answer on May 22, 2026 at 6:42 pm

    What you need to do is to define a new ui type using SASS and COMPASS.
    So, you have to be familiar with these frameworks.
    If you already install these, and you already know how to create you application theme CSS, then you can add the following line to your theme .sass file to define a custom ui

    @include sencha-tabbar-ui('myUI', $tabs-myUI, $tabs-bar-gradient, $tabs-myUI-active);
    

    As you can see I’m using some variables to set the wanted style.
    In details:

    • $tabs-myUI: Is the Base color for “myUI” UI tabs.
    • $tabs-bar-gradient: Is The Background gradient style for tab bars.
    • $tabs-myUI-active: Is the Active color for “light” UI tabs.

    You can define how many different UI you want and use them in your code in the following way:

    new Ext.TabPanel({
            fullscreen: true,
            cardSwitchAnimation: 'slide',
            ui: 'myUI',
            items: [home, about]
        });
    

    This is the official Sencha way to do it.

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have a TabPanel defined like so: panel = new Ext.TabPanel({ fullscreen: true,
I have the following Ext.TabPanel: var modules_info_panel = new Ext.TabPanel({ activeTab: 0, defaults:{autoScroll:true}, //layout:
Given a string such as: new/path - path/path/03 - filename.ext, how can I use
I have the simple form: myForm = new Ext.form.FormPanel({ width:'100%', frame:false, items: [ new
I have a DateField: editor : new Ext.form.DateField({ /*Ext.ux.form.Custom*/ allowBlank: true, format: 'm/d/Y', width
I created this simple tree: var children = [{ text:'My Layers', children:[ new Ext.tree.TreeNode({text:'test1',leaf:true}),
I'm using ExtJS to create a formPanel: new Ext.FormPanel({ labelAlign: 'top', title: 'Loading Contact...',
New to WCF, but familiar with COM+ - can I wrap a WCF service
var store = new Ext.data.JsonStore({ id:'jfields', totalProperty:'totalcount', root:'rows', url: 'data.php', fields:[{ name:'jfields' }, {
I have a Ext.form.DateField: new Ext.form.DateField({ id: 'date_from', format: 'd/m/Y', editable: false, listeners: {

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.