- Most recent Telerik controls at this time, OS is Win7 64 Ultimate
- Style is Sizable, Minimum size is 1024,700
- Only affects the top left and right corner
- Happens on Win8 and VS2012 themes, but not the Office themes
- The form height and width can always be adjusted from the top or sides of the form
What happens is when the mouse is moved into the corner and the diagonal resize cursor appears, the form will not resize. The attached image shows the effect.
- In the first titlebar image, the mouse is moved into the corner from the center of the form. From the noted cursor position, the form cannot be resized. From this position, once a resize is attempted, repositioning the mouse and retrying the resize may not work at all.
- In the second titlebar image, the mouse is moved in from outside the form, and from the noted cursor position resizing works fine.
- In the third image with the Office theme there is never any problem.
- The last 2 images show the same issue in the Telerik Theme viewer. The same scenario applies as noted in pt 1 & 2 above.
The issue is a problem since the average user does not know what is going on or why it won't resize. There is a lot of playing around with the mouse to get it work but it will not in many cases.
8 Answers, 1 is accepted
Thank you for writing.
I was able to reproduce the described behavior. I have logged this issue in our Public Issue Tracking System - PITS. You can track its progress, subscribe for status changes and add your vote/comment to it on the following link - PITS Issue. Due to the nature of the issue I cannot propose a suitable workaround for it.
I have also updated your Telerik points for bringing this issue to our attention.
Kind regards,
Peter
the Telerik team
we haven't fix this issue yet. We were working on items with higher priority.
Make sure you click the Like button in order to cast your vote for this case.
Regards,
Stefan
Telerik
I have created a brand new project with a RadRibbonForm using the new Office 2019 theme. It seems that the resizing behavior works as expected on my end when the resize cursor is displayed. Please refer to the attached gif file. Am I missing something? Could you please give us some more details about the exact difficulties that you are experiencing? Thus, we would get better understanding of the precise case and provide further assistance. Thank you in advance for your cooperation.
Since this is an old post and our public issue tracking system has been migrated to the feedback portal, I am posting the correct link to the previously discussed issue: https://feedback.telerik.com/winforms/1366710-fix-radform-cannot-be-resized-from-top-left-and-top-right-corners-if-theme-is-win8-or-vs2012
I am looking forward to your reply.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hi Dess,
Thanks for this - I am embarrassed, I was setting Cursor = Cursor.Default as part of logic inside a time. Getting rid of that does make it behave much better.
I know that the thin border is what this style uses - but is there a way to make that border (or where the mouse pointer reacts) larger?
Even with that fix - if I am using my app over say GotoMeeting - it is still hard to place the mouse with enough precision (this is not just your forms - any app with the thin border have this problem. If I can make my app behave better I'd like to).
Thanks again.
Thom
Hello, Thom,
I am glad that my previous reply put you in the right direction to notice the cursor changes you perform.
According to the provided information, it doesn't sound like a specific behavior for the RadForm/RadRibbonForm in the Telerik UI for WinForms suite if you have other applications that behave in a similar way.
However, the following idea comes to my mind: add a margin for the close button (you can do it for the rest of the system buttons as well). Thus, you can add some space between the button and title bar's edges. The cursor is expected to allow you resize in an easier manner:
public RadRibbonForm1()
{
InitializeComponent();
ThemeResolutionService.ApplicationThemeName = "Office2019Light";
this.AllowTheming = false;
this.radRibbonBar1.RibbonBarElement.RibbonCaption.CloseButton.Margin = new Padding(5);
}
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hello, Thom,
I can suggest another approach for making the border thicker and thus allow you to resize the form easier:
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
RibbonFormElement el = this.FormBehavior.FormElement as RibbonFormElement;
el.Border.BorderColor1 = Color.FromArgb(16, 110, 190);
this.FormBehavior.FormElement.BorderThickness = new Padding(5);
}
I believe that it would fit your scenario.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hello, Thom,
I am really glad to hear that the suggested solution is appropriate for your scenario.
Since Telerik UI for WinForms suite offers different form types, e.g. RadForm, RadRibbonForm, ShapedForm, etc., there is no unified way for changing the resize border. That is why it is necessary to handle it per form instance. However, we will definitely consider it in the future improvement of the control.