How to Reduce/Remove the space between TileViewItems

9 posts, 0 answers
  1. munavar hussain
    munavar hussain avatar
    12 posts
    Member since:
    Aug 2009

    Posted 09 Dec 2009 Link to this post

    Hi Support,

    I would like to remove the space between TileViewItem boxes. Whether it is Restored more, Maximized mode or Minimized mode, I don't want to see any space between boxes.

    Please see pic. to for more clarification

    Best Regards,
    Munavar Hussain
  2. munavar hussain
    munavar hussain avatar
    12 posts
    Member since:
    Aug 2009

    Posted 09 Dec 2009 Link to this post

    Never mind!! I done it using by removing below from theme

    Margin

     

    ="{TemplateBinding Padding}" from element named border

     

  3. DevCraft banner
  4. Cass
    Cass avatar
    13 posts
    Member since:
    Jan 2010

    Posted 19 Jan 2010 Link to this post

    Hi,

    I would like to do the same thing and reduce the space between TileViewItems in Normal view and Maximized view. I do not have any styles that would affect the spacing between TileViewItems though. Any suggestions?

    Thanks!

    Cassandra
  5. Selvakumar Savarimuthu
    Selvakumar Savarimuthu avatar
    23 posts
    Member since:
    Sep 2012

    Posted 19 Jan 2010 Link to this post

    Hi,

    Try what I did, in theme of TileView, find for telerikNavigation:RadTileViewItem, reduce the Value of Property Padding

    Best Regards,
    Munavar Hussain
  6. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 22 Jan 2010 Link to this post

    Hello Selvakumar,

    In order to remove the space between the TileViewItems you have to set the following property Padding="0". If you have further questions please do not hesitate to ask us

    I hope this will help you.

    All the best,
    Dimitrina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  7. mnishak mn
    mnishak mn avatar
    3 posts
    Member since:
    Feb 2010

    Posted 24 Mar 2010 Link to this post

    Hi,

    I'm having the same problem, but I'm using RadFluidContentControl.
    Using the :
    "  <telerik:RadFluidContentControl Padding="0"   "
    is not working
    Please advise.
  8. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 24 Mar 2010 Link to this post

    Hi mnishak mn,

    The RadFluidContentControl does not have a padding by default. Can you please check if the elements you place in it do not have their Margin properties set? A sample project or a better description of your scenario would help us understand what exactly is the issue in your case.

    Best wishes,
    Tihomir Petkov
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  9. mnishak mn
    mnishak mn avatar
    3 posts
    Member since:
    Feb 2010

    Posted 25 Mar 2010 Link to this post

    Hi,

    I'm using RIA services with dataTemplate . You can see example from thread posted in :

    I've made some changes to with this :
     

    <DataTemplate x:Key="ContentTemplate" > 
              
                <telerik:RadFluidContentControl Margin="0" Padding="0" ContentChangeMode="Automatic"  
                                                SmallToNormalThreshold="200 200" NormalToSmallThreshold="100 100" 
                                                NormalToLargeThreshold="300 300" LargeToNormalThreshold="299 299"
  10. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 25 Mar 2010 Link to this post

    Hi mnishak mn,

    The actual data you use does not make any difference. If you clear the Padding and Margin properties of both TileViewItems and whatever elements you place in your DataTemplate you should be able to remove the spacing. I am attaching a sample project that demonstrates how to remove the spacing between the tiles in a TileView. Let me know if it helps.

    Sincerely yours,
    Tihomir Petkov
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
Back to Top
DevCraft banner