1. #1
    Sencha User chalu's Avatar
    Join Date
    Feb 2008
    Location
    Benin City, Nigeria
    Posts
    480
    Vote Rating
    1
    chalu is on a distinguished road

      0  

    Default Tabitem title size

    Tabitem title size


    Does anyone know how to configure the title of a tab (the part U click to view the tab contents) to be as wide as the title text or as wide as U want ??

  2. #2
    Sencha User chalu's Avatar
    Join Date
    Feb 2008
    Location
    Benin City, Nigeria
    Posts
    480
    Vote Rating
    1
    chalu is on a distinguished road

      0  

    Default


    tabitem_title_size.png
    I have attached an image to make it clearer. The picture shows a tab with two items, U can see that the second tabitem clips the title such that U can't read it completely. A little investigation reveals that setTabWidth and setMinTabWidth of the TabPanel class does nothing to solve our problem. Looking further, I discovered that the tabitem header is created with an inner class called HeaderItem which extends Component, though it provides a setWith method (via the Component API) but it is a dummy method and it was not implemented.

  3. #3
    Sencha User chalu's Avatar
    Join Date
    Feb 2008
    Location
    Benin City, Nigeria
    Posts
    480
    Vote Rating
    1
    chalu is on a distinguished road

      0  

    Default Interesting ...

    Interesting ...


    The problem was caused by :
    Code:
    tabPanel.setResizeTabs(true);
    Once I took that out of the way, the tabs were automatically as wide as their label size. Cheers.

Similar Threads

  1. Panel Title Font Size
    By htedatawarehouse in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 27 Aug 2012, 5:26 AM
  2. Change font size of TabItem?
    By gnirpaz in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 26 Jan 2010, 8:04 AM
  3. create an editor for tabitem title
    By bhomass in forum Ext GWT: Help & Discussion (1.x)
    Replies: 0
    Last Post: 6 Apr 2009, 8:57 PM
  4. How to add a close button on the tabItem title
    By javist in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 4 Nov 2006, 4:22 PM
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..." hd porno faketaxi