Wrap Buttons

Last post 11-24-2010, 9:46 AM by Eric. 1 replies.
Sort Posts: Previous Next
  •  11-24-2010, 7:31 AM 65152

    Wrap Buttons

    I have set the buttons progarmically.

    Editor.TemplateItemList =
    "cut, copy, paste, pastetext, pasteword, pasteashtml, undo, redo, InsertEmotion, TableDropDown, Bold, Italic, Underline, JustifyLeft, JustifyCenter, JustifyRight, JustifyFull, ForeColor, BackColor, InsertOrderedList, InsertUnorderedList, Indent, Outdent, InsertLink, YouTube"
     
    Editor.Width = 400
     
    But when I set the width it sets it to about 575px because the buttons force the width to be larger.  In code, how do I force the buttons to wrap?

    Graham
     
     
     
     
     
     
  •  11-24-2010, 9:46 AM 65153 in reply to 65152

    Re: Wrap Buttons

    Dear northerncs,
     
    Please follow steps:
    1. open file "\CuteSoft_Client\CuteEditor\Themes\Office2007\style.css"
    2. search the following line:
        #EditorID .CuteEditorToolBarContainer {padding:3px 2px 3px 3px;height:1px;overflow-y:visible;}
        Change it to:
        #EditorID .CuteEditorToolBarContainer {width:400px;padding:3px 2px 3px 3px;height:1px;overflow-y:visible;}
    3. Test it again.
     
    Thank you for asking
View as RSS news feed in XML