region: Move preview of format to a widget
Split of from !785 (merged), where this is used inline in the panel. This MR shouldn't result in any visible UI change.
Split of from !785 (merged), where this is used inline in the panel. This MR shouldn't result in any visible UI change.