rtsScroll Width not set properly when tabs have margins

4 posts, 0 answers
  1. Ryan
    Ryan avatar
    3 posts
    Member since:
    Jul 2013

    Posted 31 Jul 2013 Link to this post

    Hello,

    I am using RadTabStrip with ScrollChild="true" but the last LI is always getting bumped to the bottom row. My tabs (.rtsLI) have a margin-right: 5px. I found out that if I remove that margin, it fixes the issue of the last tab getting bumped down. But, that is breaking the overall style. I have attached screen shots.

    EDIT: I forgot to mention these tabs are dynamically generated.

    Any help would be appreciated. Thank you.


    Ryan
  2. Ryan
    Ryan avatar
    3 posts
    Member since:
    Jul 2013

    Posted 01 Aug 2013 Link to this post

    Is my question too vague? Should I provide some code? Has anyone had a similar issue? I can't be the only person to put a margin between my tabs and have ScrollChildren="true"!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ryan
    Ryan avatar
    3 posts
    Member since:
    Jul 2013

    Posted 02 Aug 2013 Link to this post

    I solved this problem myself, by simply using a border-right: 5px solid #fff, instead of margin-right: 5px. Hope this helps anyone with the same issue.
  5. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 05 Aug 2013 Link to this post

    Hello Ryan,

    Thank you for sharing your approach with the community.

    Regards,
    Nencho
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top