TabStrip Width

2 posts, 0 answers
  1. Timothy
    Timothy avatar
    2 posts
    Member since:
    Apr 2015

    Posted 20 Jul 2015 Link to this post

    Hello,

     

    I am using a RadTabStrip and would like to know if there is a way to set the width while using alignment="Justify"?

     

    I have 2 tabs and would like to split those over the whole TabStrip... with the right side tab having a set width and the left side tab justifying to fill the hols TabStrip.

     

    Could you tell me how to accomplish this?

     

    Thanks

     

    Tim

  2. Aneliya Petkova
    Admin
    Aneliya Petkova avatar
    207 posts

    Posted 22 Jul 2015 Link to this post

    Hi Tim,

    You can achieve this scenario using RadTabStrip in Lightweight render mode and flex CSS property:
    .rtsUL {
        display: flex;
    }
     
    .rtsLI:last-child {
        flex: 1 0 auto;
    }
     
    .rtsLI {
        width: 300px !important;
    }

    Attached you may find an example.

    Hope this will be helpful.

    Regards,
    Aneliya Petkova
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top