![Avatar](https://secure.gravatar.com/avatar/3329876dd34d5f78c72e79c40d0681c9.jpg?s=64&d=identicon&r=g)
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));