This is a migrated thread and some comments may be shown as answers.

Possible Bugs / strange behavior

1 Answer 39 Views
Dock
This is a migrated thread and some comments may be shown as answers.
ManniAT
Top achievements
Rank 2
ManniAT asked on 17 Jan 2008, 10:17 AM
Hi,

We guess there is a bug with "MinSize": (steps to reproduce)
Creat a project with two Docking Panels.
>>One small on the left side - the second filling the rest of the window.
Set MinSize on the left panel.
Make your window large.
Make the left panel as small as allowed in "MinSize".
Now make the Window smaller -- the left panel becomes smaller also.
>>Means MinSize does not work on window resizeing.

The other thing is with the panels background color of panels.
Steps to reproduce:
Again creat an app with two docking panels.
You will see that they change the BackColor to "ControlDark".
In properties use "Reset" to the BackColor -- it changes to "Control" (not bold).
Next run the app -- the panels have ControlDark as BackColor.
>> Check form1.designer.cs to ensure no backcolor is set.
Next close the form and reopen it in design view.
>>Code is added to set the BackColor to ControlDark.

We expect that BackColor work like it does with other Controls.
This means - Inheritance.
And this works well in designer!!

At the existing project change the BackColor of "PrimarySite" to Red.
Next choose "Reset" at the panels -- and YES they are red now - like they should.

Run the app -- again you have ControlDark panels - instead of red ones.

The second is easy to overcome by setting the color of the panel to a specific one.

The first is a real problem.

Regards

Manfred

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 17 Jan 2008, 12:33 PM
Hello Manfred,

Thank you for reporting these issues. They will be addressed in the Q1 2008 release. For the time being, use the code provided in your previous post.

Your Telerik points have been updated.

Best wishes,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
ManniAT
Top achievements
Rank 2
Answers by
Julian Benkov
Telerik team
Share this question
or