I maded some updates to that @jnorberg shared. And I thought they were worth sharing out.

  1. I made it replace spaces with undescores
  2. It now creates Vec and Rects directly to cut down on the code needed.
  3. Also put it in the POS namespace and then us using namespace POS inside the widget constructors. (6.1 KB)

1 Like