Creating a matrix configuration widget