[Version 1.3] Exceptionally long tabs

Jun 6, 2010 at 11:03 AM

Can anyone spot anything obviously wrong with this... The tabs seem to all be exceptionally long (and all this length):

 

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="25"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <Menu/>
        <ad:DockingManager Grid.Row="1" Grid.Column="0" x:Name="dockingManager">
            <ad:ResizingPanel Orientation="Horizontal">
                <ad:DocumentPane x:Name="DocPane"/>
            </ad:ResizingPanel>
        </ad:DockingManager>
    </Grid>



 this.DocPane.Items.Add(new NewMaster(this) { Title = "Overview" });

where NewMaster is a DocumentContent object...

Mike

Jun 6, 2010 at 4:54 PM

Hi,

much probably is a problem related to the MyMaster document width. Are you setting the document width explicitly? Could you post a short except of its XAML?

DocumentContent size is managed directly from AvalonDock which cources its size to NAN values.

Ado

Jun 6, 2010 at 5:49 PM

I can confirm that I had set MinWidth as well as d:DesignWidth, and removing MinWidth solved the problem...

One of those stupid ones when you know the issue...

 

Mike