Add spacing between tiles

4 posts, 0 answers
  1. Dana
    Dana avatar
    6 posts
    Member since:
    Feb 2011

    Posted 03 Dec 2013 Link to this post

    Hi,

    I'm simply trying to add spacing/margins between the data-bound tiles.  Is there a way to do this? 
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 04 Dec 2013 Link to this post

    Hi Dana,

    You can use the dev toolbar of your browser to inspect the RadTileList rendering and find the elements that you wish to modify. Then, you can write a CSS selector to override the default control settings and place it in the page.
    For example:
    div.rtlistWrapper {
        margin: 0px 30px;
    }


    Regards,
    Marin Bratanov
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dana
    Dana avatar
    6 posts
    Member since:
    Feb 2011

    Posted 10 Dec 2013 Link to this post

    So something like Firebug or the equivalent? 
  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 11 Dec 2013 Link to this post

    Hi Dana,

    If I recall correctly I used firebug to get that CSS rule. It is a great FireFox add-on. IE and Chrome come with their own dev toolbars, and so does Opera. Firefox also has a built-in dev toolbar but I find it lacking compared to FireBug.


    Regards,
    Marin Bratanov
    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