Resizing and fixing a ToolWindow

4 posts, 0 answers
  1. Dominic
    Dominic avatar
    1 posts
    Member since:
    Jun 2010

    Posted 29 Jun 2010 Link to this post

    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.
  2. Georgi
    Georgi avatar
    296 posts

    Posted 02 Jul 2010 Link to this post

    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,
    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
  3. eliraz
    eliraz avatar
    20 posts
    Member since:
    Nov 2010

    Posted 23 Mar 2011 Link to this post

    is this bug have been fixed?
    because i tryied it and it still didnt work for me.
  4. Stefan
    Stefan avatar
    2911 posts

    Posted 29 Mar 2011 Link to this post

    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,
    the Telerik team
Back to Top