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

Resizing and fixing a ToolWindow

3 Answers 90 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Dominic
Top achievements
Rank 1
Dominic asked on 29 Jun 2010, 12:19 PM
I have four ToolWindows added dynmaically to a RadControl.  These always render with equal sizes.  I want to make one of these a smaller fixed size with the others bigger to make up the difference.  I have tried setting the ToolWindow Height, the DockTabStrip Height, I've set the TabStrip.SizeInfo.SizeMode to Absolute, everything I try has no effect on the height.

I'm new to winforms and am struggling here.  Any help would be most welcome.

3 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 02 Jul 2010, 11:55 AM
Hello Dominic,

Thank you for your question.

I am happy to inform you that this is a known issue which has already been fixed in our working version. The fix will be publicly available in our Q2 2010 release, expected approximately within two weeks.


Kind regards,
Georgi
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
eliraz
Top achievements
Rank 1
answered on 23 Mar 2011, 11:09 PM
is this bug have been fixed?
because i tryied it and it still didnt work for me.
0
Stefan
Telerik team
answered on 29 Mar 2011, 07:28 AM
Hi eliraz,

Thank you for writing.

As my colleague Georgi said, this issue was addressed in Q2 2010. Here is a small example that demonstrates how you can change the tool windows height:
ToolWindow window1 = new ToolWindow();
ToolWindow window2 = new ToolWindow();
ToolWindow window3 = new ToolWindow();
ToolWindow window4 = new ToolWindow();
 
this.radDock1.DockWindow(window1, DockPosition.Top);
this.radDock1.DockWindow(window2, DockPosition.Top);
this.radDock1.DockWindow(window3, DockPosition.Top);
this.radDock1.DockWindow(window4, DockPosition.Top);
 
window1.TabStrip.SizeInfo.AbsoluteSize = new System.Drawing.Size(0, 40);
window2.TabStrip.SizeInfo.AbsoluteSize = new System.Drawing.Size(0, 60);
window3.TabStrip.SizeInfo.AbsoluteSize = new System.Drawing.Size(0, 80);
window4.TabStrip.SizeInfo.AbsoluteSize = new System.Drawing.Size(0, 100);

I hope this helps.

Best wishes,
Stefan
the Telerik team
Tags
Dock
Asked by
Dominic
Top achievements
Rank 1
Answers by
Georgi
Telerik team
eliraz
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or