LayoutControl

1 Answer 16 Views
LayoutControl
Todd
Top achievements
Rank 1
Iron
Todd asked on 11 Mar 2025, 05:32 PM
How can I prevent the controls at the top of the form from spacing out when the form is larger than my design size? I would prefer that the tabbedgroup at the bottom just expand to fill the available space, but I cannot seem to make that work.

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 14 Mar 2025, 11:31 AM

Hello Todd,

RadLayoutControl has an intuitive design that keeps its layout consistent when resizing the form. This behavior is by design. This means that it will not place specific items to be auto-sized while others are not out of the box. A possible solution is to set the MaxSize property of the LayoutControlItem, which holds each of the textboxes, labels, etc.  The following code snippet will set the max height for the item.

this.layoutControlItem1.MaxSize = new Size(0, 30);

Such functionality was already requested and logged in our Feedback Portal. Currently, this is still not planned for implementation due to its low priority. You can vote for it so that you can increase its priority.

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Tags
LayoutControl
Asked by
Todd
Top achievements
Rank 1
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or