How to change image padding on tab

2 posts, 0 answers
  1. Martin Hamilton
    Martin Hamilton avatar
    18 posts
    Member since:
    Aug 2009

    Posted 21 Mar 2015 Link to this post

    Hi, I'm trying to figure out how to change the padding for the images I'm using for each tab.

    Is it possible to programmatically alter the padding for an image on a given tab?
  2. Dimitar
    Admin
    Dimitar avatar
    1407 posts

    Posted 25 Mar 2015 Link to this post

    Hi Martin,

    Thank you for writing.

    The image is part of the entire tab so you should change the tabs padding: 
    ribbonTab1.Image = img;
    ribbonTab1.Padding = new Padding(15);

    I have deleted the other post for this. 

    I hope this helps. Should you have any other questions do not hesitate to ask.

    Regards,
    Dimitar
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top