ToolWindow & TabStrip header height not matching

Docking/MDI for Windows Forms Forum

Posted 12 years ago by Gianni Gardini - Italy
Version: 2.0.0075
Avatar
It seems to me someone already ask of that but I can not find the topic.

If you create a form with a TabStrip than add a ToolWindow, the headers are not the same size.

It has a particulary "bad look" if you add also a toolbar in toolwindow1 and tabStrip1.
You can have a look at SQLServer Management Studio 2005 for a sample of what I'm trying to build.

How can I have the same header size?

 _____________   ______________
|             | /              |
| toolwindow1 |/ tabStrip1     |
|_____________|                |
|             |________________|           
| toolbar1    |                |
|             |  toolbar2      |
|-------------|                |
|             |----------------|
|             |                |
|             |                |
|             |                |
|             |                |
|             |                |
|             |                |
--------------------------------
[Modified at 11/14/2006 07:47 AM]

Comments (1)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
If you set the TabStripTabOuterMargin property to 0 on the TabStripRenderer that is in use for the tabbed MDI area, that will help.

You also can inherit one of our TabStripRenderers, override the Measure method for the tab and tweak things there. Then use your custom renderer in place of the default one.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.