Example #1
0
            protected override void OnGetPreferredHeight(out int minimum_height, out int natural_height)
            {
                int min1, height1, min2, height2, sw = Handler.SplitterWidth;

                Child1.GetPreferredHeight(out min1, out height1);
                Child2.GetPreferredHeight(out min2, out height2);
                minimum_height = Handler.GetPreferredPanelSize(min1, min2);
                natural_height = Handler.GetPreferredPanelSize(height1, height2);
            }