1. #1
    Ext User
    Join Date
    Apr 2007
    Posts
    226
    Vote Rating
    0
    maya is on a distinguished road

      0  

    Default Tabs' width in a layout is not changed when the region width changes

    Tabs' width in a layout is not changed when the region width changes


    Hi,

    I have a region with two bottom tabs (I created a new Ext.BorderLayout, with a region "west", and inside west there are two ContentPanels).

    When I resize the region the tabs' width is not changed accordingly (getting thinner or wider).

    Any ideas?

    Thanks,
    Maya
    Maya Lincoln
    www.processgene.com

  2. #2
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,521
    Vote Rating
    375
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Have you configured content panels with fitToFrame:true and fitContainer:true?
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  3. #3
    Ext User
    Join Date
    Apr 2007
    Posts
    226
    Vote Rating
    0
    maya is on a distinguished road

      0  

    Default Yes, I did.

    Yes, I did.


    Thanks for your answer.
    Yes, I did use those two definitions.

    Pls. find enclosed my code:
    Code:
    layout.add('west', new Ext.ContentPanel('classes', {title: "First", fitToFrame:true, toolbar:tree_toolbar, fitContainer:true}));
    layout.add('west', new Ext.ContentPanel('search_results', {title: "Second", fitToFrame:true, fitContainer:true}));
    Maya Lincoln
    www.processgene.com

  4. #4
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,521
    Vote Rating
    375
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    A question came to my mind... By tabs you mean that small things with titles that you click when you want to change tab?

    If yes, I don't believe that their width should change with region/window resizing.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  5. #5
    Ext User
    Join Date
    Apr 2007
    Posts
    226
    Vote Rating
    0
    maya is on a distinguished road

      0  

    Default They do change when I create a TabPanel

    They do change when I create a TabPanel


    Yes - By tabs I mean the tab titles - sorry for being unclear.

    When I create a TabPanel with TabPanelItems inside - their title's rectangle width changes when I change their window's width, and also their text gets shorter or longer.

    Can I reach the same effect with tab titles created in a region?

    Thanks again,
    Maya
    Maya Lincoln
    www.processgene.com

  6. #6
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,521
    Vote Rating
    375
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    resizeTabs:true
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  7. #7
    Ext User
    Join Date
    Apr 2007
    Posts
    226
    Vote Rating
    0
    maya is on a distinguished road

      0  

    Default Did that - it doesn't help

    Did that - it doesn't help


    I did that - but the Tabs are not resized. Any other ideas?
    Maya Lincoln
    www.processgene.com

  8. #8
    Ext User janixams's Avatar
    Join Date
    Aug 2007
    Posts
    80
    Vote Rating
    0
    janixams is on a distinguished road

      0  

    Question


    I used risizeTab and this work fine.
    But, when the tab title is so long, only a part can be seen. ResizeTab asign a standard with to all the tabs in the region. Now I ask: How can I resize all tabs without losing part of title?
    Thanks for your help.

  9. #9
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,521
    Vote Rating
    375
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Is your tab title longer than here: http://examples.extjs.eu/?ex=gridintab ?
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


Thread Participants: 2

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