Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
415
Why is this happening?
posted

I think I boiled down my earlier problem to the simplest example possible:

<Window x:Class="TestApp.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:igDock="http://infragistics.com/DockManager"
    xmlns:local="clr-namespace:TestApp"
    Title="Window1" Height="600" Width="800">
    <Grid>
        <igDock:XamDockManager>
            <igDock:XamDockManager.Panes>
                <igDock:SplitPane SplitterOrientation="Vertical">
                    <igDock:ContentPane Header="Pane 1">
                        <RichTextBox VerticalScrollBarVisibility="Auto"/>
                        <!--<Label>Screwed up!</Label>-->
                    </igDock:ContentPane>
                    <igDock:ContentPane Header="Pane 2">
                        <RichTextBox VerticalScrollBarVisibility="Auto" />
                    </igDock:ContentPane>
                </igDock:SplitPane>
            </igDock:XamDockManager.Panes>
        </igDock:XamDockManager>
    </Grid>
</Window>

If you replace the RichTextBox in Pane 1 by the Label, the spacing of the split window gets hosed up.  What is going on?

Parents Reply Children
No Data