ihhub / fheroes2

fheroes2 is a recreation of Heroes of Might and Magic II game engine.
https://ihhub.github.io/fheroes2/
GNU General Public License v2.0
2.65k stars 370 forks source link

Make the world map EXIT button size adaptable #7692

Open Mr-Bajs opened 1 year ago

Mr-Bajs commented 1 year ago

Preliminary checks

Platform

Linux

Describe the bug

The world map EXIT button seams to be have a fixed size, if its size where adaptable it would look better for many translations.

worldmap

Save file

no file

Additional info

No response

zenseii commented 1 year ago

Hi, @Mr-Bajs. A bug is generally something that isn't working as intended. This button originally has a fixed size and we've improved upon the buttons and made them resizable.

I'm reclassifying this as an improvement request.

As for this issue, the problem is that the shadows of the button are baked into the actual background, so first we would have to remove those shadows.