[CLOSED] HTML Editor Scroll Problem

  1. #1

    [CLOSED] HTML Editor Scroll Problem

    Hi

    I've got a layout problem with the html editor, please see the attached file. The scroll bar appears 1/2 way across a window.

    the cut down parts of the code that I think are relevant to that are:
    Ext.Net.FormPanel retVal = new Ext.Net.FormPanel() { LabelWidth=45, Layout="FormLayout", ID = "frmFeatureEditor",  Border = false, Padding = 5, BodyStyle = "background-color:#CEDDEF;", MonitorValid = true, MonitorResize =true };
    Ext.Net.HtmlEditor html = new HtmlEditor() { ID = "htmlDescription_feat", FieldLabel = "Text", EnableSourceEdit = false, EnableLinks = false, EnableFont = false, Cls = "feature-data",AutoWidth=true, AutoScroll = true };
    retVal.Items.Add(html);
    This formpanel is added via a direct method to the right hand column of a column layout.

    Any ideas?

    Cheers

    Ian
    Attached Thumbnails Click image for larger version. 

Name:	scrollproblem.png 
Views:	215 
Size:	13.7 KB 
ID:	3548  
    Last edited by Daniil; Dec 05, 2011 at 1:28 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please:

    1. Removee AutoWidth="true" of the HtmlEditor.

    2. Set up AnchorHorizontal="100%" for HtmlEditor. Or Anchor="100% 100%" if you need to stretch the HtmlEditor to both - FormPanel's width and height.
  3. #3
    Hi Daniil,

    Thanks for your help, that's fixed it.

    Kind regards

    Ian

Similar Threads

  1. Replies: 2
    Last Post: Nov 07, 2011, 7:13 AM
  2. Problem with HTML Editor
    By joao.msdn in forum 1.x Help
    Replies: 0
    Last Post: Dec 28, 2010, 9:14 PM
  3. [CLOSED] HTML Editor
    By ppettigrew in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Oct 08, 2010, 4:36 PM
  4. [CLOSED] HTML editor with IE 8
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 17, 2010, 7:59 AM
  5. [CLOSED] html editor
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 19, 2009, 10:08 AM

Tags for this Thread

Posting Permissions