Decrease Editor Width in DotNetNuke

Last post 07-22-2005, 1:39 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  07-22-2005, 11:09 AM 8975

    Decrease Editor Width in DotNetNuke

    I would like to shrink the width of the Cute Editor in DotNetNuke 3.1.  I've done a thorough search of the code and these forums but can't seem to find a definitive answer.  Is there a setting to modify in the config files or will I have to recompile (as noted in another forum post)?

    Thanks for any assistance.
  •  07-22-2005, 1:39 PM 8980 in reply to 8975

    Re: Decrease Editor Width in DotNetNuke

    We disabled the Width propery because the width of some DNN modules is too small for the CuteEditor.
     
    If you want to enable the width property, please open the CEHtmlEditorProvider.vb file.
     
    And change the following code:
     
    
            Public Overrides Property Width() As System.Web.UI.WebControls.Unit
                Get
                    Width = CType(Me.HtmlEditorControl, CuteEditor.Editor).Width
                End Get
                Set(ByVal Value As System.Web.UI.WebControls.Unit)
                    '            CType(Me.HtmlEditorControl, CuteEditor.Editor).Width = Value
                End Set
            End Property

    To:
     
     
    Public Overrides Property Width() As System.Web.UI.WebControls.Unit Get Width = CType(Me.HtmlEditorControl, CuteEditor.Editor).Width End Get Set(ByVal Value As System.Web.UI.WebControls.Unit) CType(Me.HtmlEditorControl, CuteEditor.Editor).Width = Value End Set End Property

    Then recompile your project.


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML