This is a migrated thread and some comments may be shown as answers.
Trouble Resizing Radform with mouse
8 Answers 48 Views
This is a migrated thread and some comments may be shown as answers.
Brendan
Top achievements
Rank 1
Brendan asked on 02 May 2013, 07:14 PM
I have an issue where is can be difficult or impossible to resize the Radform using the mouse.  The conditions;
  1. Most recent Telerik controls at this time, OS is Win7 64 Ultimate
  2. Style is Sizable, Minimum size is 1024,700
  3. Only affects the top left and right corner
  4. Happens on Win8 and VS2012 themes, but not the Office themes
  5. 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. 

  1. 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.
  2. In the second titlebar image, the mouse is moved in from outside the form, and from the noted cursor position resizing works fine.
  3. In the third image with the Office theme there is never any problem.
  4. 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

Sort by
0
Accepted
Peter
Telerik team
answered on 07 May 2013, 01:34 PM
Hello Brendan,

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
WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
0
Mark
Top achievements
Rank 1
answered on 05 Jun 2015, 11:50 PM
It's been two years. Is there a fix for this?
0
Stefan
Telerik team
answered on 08 Jun 2015, 06:22 AM
Hi Mark, 

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Thom
Top achievements
Rank 1
answered on 08 Feb 2021, 08:44 PM
I am experiencing the same problems with RadRibbonForm using the new Office 2019 theme. Very difficult for users to work with the application.
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 09 Feb 2021, 12:11 PM
Hello, Thom,  

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/.

0
Thom
Top achievements
Rank 1
answered on 09 Feb 2021, 06:10 PM

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

 

 

 

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 10 Feb 2021, 01:35 PM

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/.

Hi Dess, been a while since I could get back to this. I tried the suggestion above. Unfortunately that didn't help. I did see the larger area, but it that area did trigger changing the mouse pointer to allow resizing. It still only allows resizing if the mouse pointer is placed just exactly so - it seems like there is only about a 1 pixel area where the mouse pointer changes.
- by
Thom
Top achievements
Rank 1
on 04 May 2021, 12:05 PM
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 06 May 2021, 08:32 AM

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.

Thank you very much -it works great! This may seem like a simple thing, but it really does help the productivity of my users - they need to resize the application manually a lot when using the software, often over remote access where mouse precision is compromised. Thank you for doing this - it would be a nice feature to be able to set this in the designer.
- by
Thom
Top achievements
Rank 1
on 06 May 2021, 09:26 AM

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.

 

- by
Dess | Tech Support Engineer, Principal
Telerik team
on 06 May 2021, 09:49 AM
Tags
Form
Asked by
Brendan
Top achievements
Rank 1
Answers by
Peter
Telerik team
Mark
Top achievements
Rank 1
Stefan
Telerik team
Thom
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or