Issue #8347: Fix vertical offset for statusbar tool icon
This attempts to resolve the issue noted in #8347 (closed). In 2.10, the toolbar icon in the statusbar goes partially off-screen. This is because the Y offset is too large here: https://gitlab.gnome.org/GNOME/gimp/-/blob/gimp-2-10/app/display/gimpstatusbar.c#L1345
This patch attempts to resolve the issue by scaling the offset relative to the size of the icon. A new constant, ICON_SIZE
, is created to keep the width/height and offset of the icon size consistent.