I have some code which looks like the following:
But the control still comes up at the default size. What needs to be done in order to size a floating toolwindow?
tw = new ToolWindow ()
{
Name = "w_ToolWindow",
Title = "A tool window",
};
mainDockSite.ToolWindows.Add (tw);
tw.Content = new TextBlock (new Run (string.Concat ("Dynamic Content!\n", DateTime.Now)));
tw.Float ();
DockSite.SetControlSize (tw.ParentContainer, new Size (480, 240));