Tool window size within Standard MDI

Docking/MDI for WPF Forum

Posted 15 years ago by Anurodh Ora
Version: 4.5.0486
Avatar
Hi,

I have a user control for docksite and within it I have Split control in which i have 2 Tool windows in 2 different Tool Window Containers. And I also give the control size to the first tool window (like docking:DockSite.ControlSize="65, 65") in its ToolWindowContainer.

Now, I have placed this user control in a Standard MDI by creating programmatically.

All this works fine, However the Control size which i have given to the first tool window is ommited. That Means, the total space is equally devided in both the tool windows.

Why size is not getting assign to tool window?

Previously, I had the ActiPro version 4.5.0482 then it was working fine.

Is there any problem in new version.

Please look in to it.

Thanks

Anurodh

Comments (3)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Anurodh,

It would help if you could email over a simple sample project that shows this so we can debug it.

We have been doing tweaking on split containers recently due to some other issues, so this could be solved already in our unreleased code but a sample from you would confirm it. One thing you can try is setting a docking:ControlSize on your SplitContainer too


Actipro Software Support

Posted 15 years ago by Anurodh Ora
Avatar
Hi,

Thanks for reply.

It works with docking:DockSite.ControlSize="65 65" in both SplitContainer and ToolWindowContainer.

But, I little confuse with this.

Why we need to specify the size to both?


Regards

Anurodh
Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
It's a bit complex to explain but as I said, we made code changes that shouldn't require this for the next build. But if you'd email over a simple sample project that shows it happening, we can test to make sure our tweaks work for you.


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.