I am populating the LINKS dropdown programmatically via an XmlDocument.
//Add items by code
CuteEditor.
TreeListItem rootitem = new CuteEditor.TreeListItem("Files", null);
rootitem.Selectable =
false;
tdd.Items.Add(rootitem);
XmlNodeList pNodes = pDoc.SelectNodes("./files/file");
foreach (XmlNode pNode in pNodes)
{
string sNodeValue = pNode.Attributes.GetNamedItem("value").InnerText;
string sURL = WebUtilTools.GetURL(this.State.Value, this.City.Value, this.Web.Value) + sNodeValue;
rootitem.Items.Add(sNodeValue, sNodeValue, sURL);
}
My custom toolbar.config file has an entry:
<
item type="treedropdown" name="LinkTree" text="Links/Files" width="300" command="InsertLink" />
When I pop up the entry in the runtime version of the editor, the links/files control is 300px wide, but the floating treelist control is much smaller and has a vertical and horizontal scroll bar - is there any way to customize the width of the treelist control to match the width of the dropdown control?
Thanks