Not sure it would help, but try to call RecalcLayout