Re: How modify the width of the link treeview

  •  05-11-2009, 1:12 PM

    Re: How modify the width of the link treeview

    Hi dstpierre,
     
    1. Open file Common.config(CuteSoft_Client\CuteEditor\Configuration\Shared\Common.config)
     
    2. Find section below:
     
     <html><![CDATA[Msdn.microsoft.com <img border=0 align='absMiddle' src='http://cutesoft.net/data/msdn16.gif' />]]></html>
     
    Change to:
     
    <html><![CDATA[<div style="height:50px;line-height:50px;width:300px">Msdn.microsoft.com <img border=0 align='absMiddle' src='http://cutesoft.net/data/msdn16.gif' /></div>]]></html>
     
    If you want to use custom Links treeview, try the code below:
     

                    CuteEditor.TreeDropDownList linkList = (CuteEditor.TreeDropDownList)links.Control;

                    linkList.Items.Clear();

                    CuteEditor.TreeListItem root = new CuteEditor.TreeListItem("<div style='height: 50px; width:300px; 
                    line-height:    50px'>Pages</div>", null, null);

                    linkList.Items.Add(root);

     
    Regards,
     
    Ken
     
View Complete Thread