Last Updated: 04 Feb 2015 13:13 by ADMIN
Created on: 28 May 2014 10:09
Category: Dock
Type: Bug Report
FIX. RadDock - having multiline text in a tab item results in the text getting outside the tab item bounds

        void radDock1_DockWindowAdded(object sender, DockWindowEventArgs e)
            DocumentWindow docWin = e.DockWindow as DocumentWindow;

            if (docWin != null && docWin.Text.Contains(Environment.NewLine))
                docWin.TabStripItem.Padding = new Padding(25, 2, 3, 2);
1 comment
Ivan Todorov
Posted on: 02 Feb 2015 15:00
DECLINED: having a multiline text inside the tab items is rather a custom scenario and their shape and/or padding should also be edited in this case. To achieve this, either use the DockWindowAdded event or the RadDockEvents.TabStripItemCreating static event (available as of Q1 2015) to modify the tab items.