MegaMek / megameklab

MegaMekLab is a BattleTech unit modification program. It allows creating and modifying all unit types available in MegaMek from Support Vehicles up to WarShips. It also allows printing record sheets for single or multiple units.
http://www.megamek.org
86 stars 129 forks source link

Fix clipping issues for small unit RS preview #1573

Closed pavelbraginskiy closed 2 months ago

pavelbraginskiy commented 2 months ago

The small unit sheet (Infantry, Battle Armor, and Protomechs) doesn't cope well with a nonstandard paper size. It gets cut off on the right side, and sometimes tables overlap with the unit blocks.

This change uses standard margins for these unit types. This leads to an annoyingly large margin around the sheet, but it's better than straight up rendering wrong.

pavelbraginskiy commented 2 months ago

Doesn't fix the bug completely, actual fix coming in a different PR