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

Backstage command tabs manual sizing

4 Answers 89 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
pierre-jean
Top achievements
Rank 1
Veteran
Iron
pierre-jean asked on 31 Jan 2017, 05:14 PM

I develop an WinForms application with the RadRibonForm.

In the Ribon I have  command tabs in which I display only an image and no text. In order to add some space between the TabsI have tried to disable autosize and specify manually the width of the tabs. If I set manually the size of all the tabs they disapear completely at run time ... If I leave one Tab in autosize then I see them correctly (with the exception of the Tab in autosize which is too narrow)

How can I solve this issue ?

 

thanks in advance

4 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 01 Feb 2017, 07:33 AM
Hi Pierre-jean,

You just need to set the Padding/Margin of each tab (see attached image).

Should you have any other questions do not hesitate to ask.

Regards,
Dimitar
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
pierre-jean
Top achievements
Rank 1
Veteran
Iron
answered on 01 Feb 2017, 09:11 AM

Thanks

Having set the size of all tabItems size to 64x40 (the image is 32x32) and the padding to (10;3;10;3) then the horizontal positions are correctly set,

however if I set all tabs to autosize=false, the tabs are moved vertically and are partially above the title bar. If I set the last tab to autosize the vertical position is correct.

regards

PJ Pralong

0
Dimitar
Telerik team
answered on 01 Feb 2017, 11:40 AM
Hello PJ,

You need to leave the AutoSize to true. If you need to set a specific size you can use the MinSize property. 

I hope this will be useful. 

Regards,
Dimitar
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
pierre-jean
Top achievements
Rank 1
Veteran
Iron
answered on 01 Feb 2017, 01:00 PM
Thanks it is clear

Best Regards

PJ Pralong

Tags
RibbonBar
Asked by
pierre-jean
Top achievements
Rank 1
Veteran
Iron
Answers by
Dimitar
Telerik team
pierre-jean
Top achievements
Rank 1
Veteran
Iron
Share this question
or