protected override LayoutSettings CreateLayoutSettings(ToolStripLayoutStyle style)
        {
            LayoutSettings layout_settings = base.CreateLayoutSettings(style);

            if (style == ToolStripLayoutStyle.Flow)
            {
                ((FlowLayoutSettings)layout_settings).FlowDirection = FlowDirection.TopDown;
            }
            return(layout_settings);
        }
Example #2
0
        protected override LayoutSettings CreateLayoutSettings(ToolStripLayoutStyle style)
        {
            LayoutSettings layout_settings = base.CreateLayoutSettings(style);

            if (style == ToolStripLayoutStyle.Flow)
            {
                ((FlowLayoutSettings)layout_settings).FlowDirection = FlowDirection.LeftToRight;
                ((FlowLayoutSettings)layout_settings).WrapContents  = true;
            }
            return(layout_settings);
        }