Files
OpenTTD/src
PeterN 330a305c99 Fix: Apply unscaled padding to Viewport inside WWT_INSET. (#9219)
Since pixel dimensions in SetPadding() are scaled by GUI size, padding for inset viewports was excessive.

Instead, automatically apply padding for WWT_INSET at widget level. This applies to all widgets inside a WWT_INSET, which in all instances is a NWID_VIEWPORT.
2021-05-08 21:01:16 +01:00
..
2021-05-07 18:59:46 +00:00
2021-04-04 08:01:54 +01:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2021-03-01 21:56:26 +00:00
2021-03-01 21:56:26 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2021-04-22 22:57:00 +02:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2020-05-06 09:54:36 +01:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2020-01-01 10:19:12 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00
2019-11-10 17:59:20 +00:00