Resizable Component

Hi all,

I was wondering how I can create a custom component that has that the capsule is resizable (I wish to achieve the same type of capsule that the number slider has, that is resizable in width but not in height).

I suspect that GH_ResizableAttributes is what I need but I was wondering how shall I implement the CreateAttributes.

Many thanks!


Resolved, it seems there is a missing documentation MinimumSize and sizingpadding in resizableAttributes, though retrospectively it is straightforward.