Apr 23, 2010, 7:20 AM
[CLOSED] [1.0] Load htmlEditor in window - autosize to fit in window
I open a window which loads a Page that holds an HtmlEditor (build from codebehind).
What is best approach to make the editor autosize to the window?
private void Render_EditMode()
{
this.Controls.Add(new Ext.Net.ResourceManager() { ID = "AdoreResourceManager" });
Ext.Net.HtmlEditor htmlEditor = new Ext.Net.HtmlEditor();
htmlEditor.Text = CurrentContent();
htmlEditor.ID = "AdoreHtmlEditor";
htmlEditor.IDMode = IDMode.Static;
// htmlEditor.Width = 621;
// htmlEditor.Height = 460;
this.Controls.Add(htmlEditor);
}
I have tried to add a fitlayout first and added the htmlEditor in this one, but without success.Any thoughts
CLOSED
Viewport -> Fitlayout -> HtmlEditor