1. #1
    Sencha User nak1's Avatar
    Join Date
    Jan 2008
    Posts
    266
    Vote Rating
    0
    nak1 is an unknown quantity at this point

      0  

    Default Tabs as Buttons

    Tabs as Buttons


    Question: We're looking to use the TabPanel, however, we want to render the tabs to look like buttons rather then tabs. So it would appear to be buttons on the top row, rather then the Tabs. They would behave and have the same onclick event as the tabs. I was wondering if anyone out there has done this before?
    No longer a Newbie

  2. #2
    Sencha User
    Join Date
    Mar 2010
    Location
    Amsterdam, Netherlands
    Posts
    7
    Vote Rating
    1
    rburgt is on a distinguished road

      0  

    Default


    I haven't done this myself but I think you can take two approaches:

    - custom styling
    Use your own custom css classes to style the tab buttons.

    - write a custom tabpanel
    Use the card layout http://www.extjs.com/deploy/dev/docs...out.CardLayout to and dynamically add buttons in a basic panel above.

    If you only need this once you can save some time on writing the custom tabpanel and add the card layout and buttons manually.

  3. #3
    Sencha User nak1's Avatar
    Join Date
    Jan 2008
    Posts
    266
    Vote Rating
    0
    nak1 is an unknown quantity at this point

      0  

    Default


    The only thing about building out a CardLayout is then I have to build out the plumbing for the button interactions with the panels themselves. Since this is part of the TabPanel, I was hoping to leverage that functionality. Seems like the css approach might be more ideal. Do you know of anyone who has put together a style sheet for something like this?
    No longer a Newbie

  4. #4
    Sencha User
    Join Date
    Mar 2010
    Location
    Amsterdam, Netherlands
    Posts
    7
    Vote Rating
    1
    rburgt is on a distinguished road

      0  

    Default


    in the ext package (http://www.extjs.com/products/js/download.php)

    go to: resources\css\visual\

    tabs.css has all the css for the tabs
    the file button.css has the original button css for reference

    have fun!

    in the

Thread Participants: 1

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