I have to widen this gap. (In the attachment, it is specified.)

1 Answer 126 Views
RibbonView
Mahdi
Top achievements
Rank 1
Mahdi asked on 30 Apr 2021, 10:46 AM
Hello
I have to widen this gap. (In the attachment, it is specified.)
guide me.
Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 30 Apr 2021, 11:33 AM

Hello Mahdi,

If you use the RadRibbonView for WinUI, you can set the ContentHeight property of the control. However, from the picture it looks like you are using RadRibbonBar for WinForms. If this is the case, then you can set a fixed size of one of the RadRibbonBarGroup elements. This will auto-size the content area of the selected tab. For example:

this.radRibbonBarGroup1.AutoSize = false;
this.radRibbonBarGroup1.Size = new Size(300, 300);

You can also check the following forum.

If you have any questions related to WinForms, please open a new forum in the UI for WinForms forums section.

Regards,
Martin Ivanov
Progress Telerik

Тhe web is about to get a bit better! 

The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.

Tags
RibbonView
Asked by
Mahdi
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or