GH_Panel set panel size

Hi there,
when you create a GH_Panel in C# (var panel = new Grasshopper.Kernel.Special.GH_Panel();), how can I control the size of it on the GH canvas?
Thanks!

Hi,

That’s a matter of defining the Pivot and Bounds properties of the Attributes of the Panel.

Done here :

1 Like

sweet, thanks a lot, works perfectly!