1. #1
    Sencha User
    Join Date
    Aug 2008
    Posts
    226
    Vote Rating
    2
    TheBuzzer is on a distinguished road

      0  

    Default Answered: TabPanel setTabPosition gone?

    Answered: TabPanel setTabPosition gone?


    I realized I can't set the tabs to the bottom anymore using setTabPosition becuase it seems to be gone.

    Is there a new method to do that?

  2. This is still possible. Thanks to your new appearance stuff, you can simple change the appearance:

    Code:
    new TabPanel(GWT.<TabPanelAppearance> create(BlueTabPanelBottomAppearance.class));
    This should be what you are looking for.

  3. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Answers
    60
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      1  

    Default


    This is still possible. Thanks to your new appearance stuff, you can simple change the appearance:

    Code:
    new TabPanel(GWT.<TabPanelAppearance> create(BlueTabPanelBottomAppearance.class));
    This should be what you are looking for.

  4. #3
    Sencha User
    Join Date
    Aug 2008
    Posts
    226
    Vote Rating
    2
    TheBuzzer is on a distinguished road

      0  

    Default


    Thanks! This is exactly what I am looking for.

  5. #4
    Sencha User
    Join Date
    Sep 2007
    Posts
    59
    Vote Rating
    0
    jamone is on a distinguished road

      0  

    Default Tab Scrolling

    Tab Scrolling


    As a follow on, how do you get your tab panel to add scroll bars?

  6. #5
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Answers
    60
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    You mean like in this example http://www.sencha.com/examples/#Exam...e:advancedtabs?

    This can be enabled with
    Code:
    tabPanel.setTabScroll(true);

  7. #6
    Sencha User
    Join Date
    Sep 2007
    Posts
    59
    Vote Rating
    0
    jamone is on a distinguished road

      0  

    Default TabPanel content scrolling

    TabPanel content scrolling


    Thanks for the quick response.

    No sorry, what I mean is scrolling for the contents of the tabPanel.

    In GXT 2.2.5, there was scrolling on the TabItem, in GXT 3.0 there is no more TabItem and my content for a TabPanel is larger than the display area. I have been unable to locate how to enable scrolling for the tabPanel.

  8. #7
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Answers
    60
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    This depends on what you are adding the the TabPanel. What Widget are you putting there in?

  9. #8
    Sencha User
    Join Date
    Sep 2007
    Posts
    59
    Vote Rating
    0
    jamone is on a distinguished road

      0  

    Default


    Say I am adding a HtmlLayoutContainer, how do I get scrollbars in the tabPanel?

    Ex:

    TabPanel tabs = new TabPanel();
    tabs.setAnimScroll(true);
    tabs.setTabScroll(true);

    HtmlLayoutContainer hlc = new HtmlLayoutContainer(getProviderMarkup());

    tabs.add(hlc, "More Details");

  10. #9
    Sencha User
    Join Date
    Sep 2007
    Posts
    59
    Vote Rating
    0
    jamone is on a distinguished road

      0  

    Default


    Quote Originally Posted by sven View Post
    This depends on what you are adding the the TabPanel. What Widget are you putting there in?
    A HtmlLayoutContainer, how can one get scrolling in such a container?

  11. #10
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Answers
    60
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Try to set it directly on the element:

    Code:
    htmlLayoutContainer.getElement().getStyle().setOverflow(Overflow.AUTO);

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