StateMachine: Pass font prop to individual items

This makes it possible to configure the font by changing StateMachineViewerWidget::m_font