Command Bar Strip out of bounds on maximize of form

1 Answer 12 Views
CommandBar
Dan
Top achievements
Rank 1
Dan asked on 30 Apr 2024, 09:36 AM | edited on 30 Apr 2024, 09:41 AM

We have a commandbar docked to the right of our form, underneath another user control which is docked to the top. 

The commandbar is one row with two strips in it, and the first strip (the one which is getting out of bounds) has two buttons on it. (see attached images). 

It works fine but when you maximize the form, the first strip appears to lose it's first button.

Inspecting the element properties of the strip shows that for some reason, the ControlBoundingRectangle/BoundingRectangle has it's Y axis set to -42.

Is there any way to reset the ControlBoundingRectangle to back to it's original value or any other method to stop it from going out of bounds?

We're using version 2020.1.113.40


Thanks,

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 03 May 2024, 08:14 AM

Hello Dan,

I appreciate the provided image.

Looking at the image it seems that the command bar is shifted up. What comes to my mind is to check the Location property of the control and see if it is changed when the form is maximized. Without the sample code, I can only guess what is causing this behavior. Is it possible to isolate the structure of the form in a sample project that reproduces this and attach it here? This way I can take a closer look and try to find what triggered this. 

I am looking forward to your reply.

Regards,
Dinko | Tech Support Engineer
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.

Tags
CommandBar
Asked by
Dan
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or