This is a migrated thread and some comments may be shown as answers.

How to change image padding on tab

1 Answer 171 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Martin Hamilton
Top achievements
Rank 1
Iron
Iron
Veteran
Martin Hamilton asked on 21 Mar 2015, 12:46 PM
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?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 25 Mar 2015, 02:11 PM
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.

 
Tags
RibbonBar
Asked by
Martin Hamilton
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Dimitar
Telerik team
Share this question
or