View Issue Details

IDProjectCategoryView StatusLast Update
0005249The Dark ModGUIpublic10.05.2020 21:38
Reporterjoebarnin Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0005249: Some mission names are not displayed well in the Start mission screen
DescriptionDepending on the length of the mission name and how it wraps, names sometimes display too wide (see attached example, "Cleaning up the Neighbourhood"). It looks like the problem is with mainmenu_newgame.gui, specifically this:

        windowDef InstalledModTitle
        {
            rect 0, 45, 280, 50
            text "gui::currentModName"
            forecolor 0.4,0,0,1
            textscale 0.35
            textalign 1
            font "fonts/carleton"
        }

The rectangle that the mod name fits into is the entire width of the overall rectange (0-280). Depending on how the string wraps, this may or may not result in content beyond the edge of the rectangle. I think something like "rect 15, 45, 250, 50" works better - the content always fits on the "paper" graphic
Steps To ReproduceIn darkmod.txt, give the mod a name of "Cleaning up the Neighbourhood". Install the mission and select New Mission.
TagsNo tags attached.

Issue History

Date Modified Username Field Change
10.05.2020 21:38 joebarnin New Issue
10.05.2020 21:38 joebarnin File Added: reluctantbenefactionv1_2020-05-10_13.20.48.jpg
10.05.2020 21:38 joebarnin File Added: cleaninguptheneighbourhood_2020-05-10_13.20.30.jpg