MegaMek / megamek

MegaMek is a networked Java clone of BattleTech, a turn-based sci-fi boardgame for 2+ players. Fight using giant robots, tanks, and/or infantry on a hex-based map.
http://www.megamek.org
GNU General Public License v2.0
296 stars 286 forks source link

Some Elements of Large Craft Weapon Display Cut Off #5396

Open pokefan548 opened 6 months ago

pokefan548 commented 6 months ago

Environment

Windows 10, MegaMek 0.49.19, 1366x768 px display

Description

As shown in the image below, some UI elements on the Unit Display for large craft weapons are partially cut off.

Files

image

repligator commented 3 months ago

This appears to be the case regardless of display size. Here is how the window appears by default at 1920x1080 Screenshot_20240726_110304

However, if the gray box is moved further down (by clicking and dragging on the two sets of 3 dots), the issue can be fixed. Screenshot_20240726_110345 Ideally, the default state would simply put the gray box a but further down.

pokefan548 commented 3 months ago

It doesn't appear to have fixed the AV display.

Sleet01 commented 3 months ago

Part of the problem is the inbuilt string wrapping, part of the problem is that we don't appear to be resizing the components after applying the current theme so the text ends up too large for the various fields and boxes.

I may take a look after working on some other bugs.