Book a Demo

Author Topic: Resizing of Add-In window  (Read 3193 times)

Knut Paulsen

  • EA User
  • **
  • Posts: 82
  • Karma: +1/-0
    • View Profile
Resizing of Add-In window
« on: June 03, 2013, 08:52:04 pm »
Hi guys,

I have this control that I display in an Add-In window using Repository.AddWindow().  I would like the components inside my control  to re-size whenever the Add-In window is re-sized, but I am unable to find the size of the surrounding dockable window. Control's parent property is null. Any ideas?

cheers
Knut

Knut Paulsen

  • EA User
  • **
  • Posts: 82
  • Karma: +1/-0
    • View Profile
Re: Resizing of Add-In window
« Reply #1 on: June 03, 2013, 09:01:12 pm »
Sorry for the noise guys :-)
The solution is of course just to use the Anchor property. The simple solution is often the best :-)

cheers
Knut