How to adjust RG's width to the number of items inside?

That’s a difficult thing to do. This post from @vlad has a unique way of making this happen though.