Document tab strangeness

Mar 30, 2009 at 10:43 PM
Hey Guys,

Adospace, this is an awesome project you have here.  Thanks for all of your work on this.

I'm having some trouble when adding documents to my main documentpane.  (BTW, I'm using v1.1.1714).  The tabs end up looking like this this.  The documents which I am adding are controls which inherit from DocumentContent.  And my DocumentPane is declared like this:

<ad:DockingManager Name="dockingManager1" Grid.Row="1">
            <ad:ResizingPanel Orientation="Vertical" Margin="12" Name="dockPanel">
                <ad:DocumentPane x:Name="_documentsHost">

                </ad:DocumentPane>
            </ad:ResizingPanel>
        </ad:DockingManager>

Can you think of anything that would cause this?  I can't see see what I'm doing differently than the sample application you created.  Much thanks in advance to anyone who can provide insight on this!
Mar 31, 2009 at 6:48 AM
Hi,

I had the same problem as you are seeing. The reason is that your control is setting its own width. Remove the width (and height) definitions and it should work.
Mar 31, 2009 at 1:51 PM
That was it, Keye - thanks a ton!