News:

SimuTranslator
Make Simutrans speak your language.

Scenario imagens in info windows

Started by Yona-TYT, January 11, 2026, 08:48:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT

Topic : https://forum.simutrans.com/index.php/topic,23511.0.html 

Using: Linux SD2 r11862

There's a small bug that changes the icon scale when you zoom in.
simscr03.png
simscr01.png




Andarix

r11867 Windows x64 GDI

it does not occur

Yona-TYT


Yona-TYT

I've found a clue!

When the GUI theme uses the parameter "icon_scaling = 150", the large icon scale is also being transferred to the scenario window icons. The strange thing is that this only happens with certain zoom levels.

This explains why @Andarix couldn't replicate this, since he was using a theme with normal-sized icons.

Andarix

Scaling is activated when the images are loaded.

The images within the text are the loaded images.

Either the scaling in the text display must be reduced, or the images must be embedded in a way that allows for flowing text.

The former should be easier to implement.