Trap WindowStateChange in MainWindow

.. but just to resize the toolbar when on a Mac