Added handling for the viewAdded and viewChanged events, which cause navigation bar icons to change if they don't fit the current presentation area size. This handler is only applied when automatic scaling of the navigation bar is enabled, so it shouldn't impact performance when the bar isn't used or a fixed size is selected. Icon sizes: XLarge for UHD and above Large for FHD and up Small for anything smaller than FHD Change-Id: I9f6599291d57aca9991c8d2dd2969d1edb36080e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196157 Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@collabora.com>