Show layout setting in panel

Maybe this helps as a starting point: Working on layout preview - #4 by arnoson