Skip to main content
Inspiring
March 17, 2026

Hiding parameters doesn't update the panel size/scrollbar

  • March 17, 2026
  • 0 replies
  • 14 views

I have a plugin with a bunch of parameters. I also want to show/hide some of these parameters depending on a checkbox. I do this by setting the flag AEGP_DynStreamFlag_HIDDEN. 

The part of hiding/unhiding parameters works but the panel size and scroll won’t update. This means that the parameters at the bottom go out of view when some other parameters change from hidden to shown, since the size of the panel doesn’t update. Expanding a group for example fixes the issue.

 

Edit: Just found out that calling PF_UpdateParamUI after a parameter was unhidden, fixes the problem. It’s still a bug though.