View Issue Details

IDProjectCategoryView StatusLast Update
0005249The Dark ModGUIpublic06.01.2024 22:11
Reporterjoebarnin Assigned Tonbohr1more  
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionSVN 
Target VersionTDM 2.11Fixed in VersionTDM 2.11 
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.

Relationships

related to 0006337 resolvedstgatilov Misalignment in mission lists 

Activities

joebarnin

joebarnin

10.05.2020 21:38

reporter  

nbohr1more

nbohr1more

06.01.2023 17:28

developer   ~0015713

Rev 16723
stgatilov

stgatilov

07.01.2023 15:04

administrator   ~0015723

I don't think the issue is fixed.
Long mission names are cut off, see screenshot for example.

I think you have to increase title height to allow two-line titles in order to allow the first picture that joebarnin posted.
And it is not so easy to do, since you need to get vertical space elsewhere.
NightOfReluctantBenefaction.jpg (247,650 bytes)   
NightOfReluctantBenefaction.jpg (247,650 bytes)   
nbohr1more

nbohr1more

07.01.2023 16:17

developer   ~0015724

Last edited: 07.01.2023 16:18

Not sure how you are getting that result? See my results attached:

( Did you test this on SVN or 2.11 beta? I applied it to SVN )
GUI_Fix.png (3,296,812 bytes)
stgatilov

stgatilov

07.01.2023 17:53

administrator   ~0015726

Oh sorry!
I simply did not update SVN and was testing the old version.
Yes, now all mission titles fit one line.

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
06.01.2023 17:28 nbohr1more Note Added: 0015713
06.01.2023 17:28 nbohr1more Assigned To => nbohr1more
06.01.2023 17:28 nbohr1more Status new => resolved
06.01.2023 17:28 nbohr1more Resolution open => fixed
06.01.2023 17:28 nbohr1more Product Version => SVN
06.01.2023 17:28 nbohr1more Fixed in Version => TDM 2.11
06.01.2023 17:28 nbohr1more Target Version => TDM 2.11
06.01.2023 17:28 nbohr1more Description Updated
07.01.2023 15:04 stgatilov Note Added: 0015723
07.01.2023 15:04 stgatilov File Added: NightOfReluctantBenefaction.jpg
07.01.2023 15:04 stgatilov Status resolved => assigned
07.01.2023 16:17 nbohr1more Note Added: 0015724
07.01.2023 16:17 nbohr1more File Added: GUI_Fix.png
07.01.2023 16:18 nbohr1more Status assigned => feedback
07.01.2023 16:18 nbohr1more Note Edited: 0015724
07.01.2023 17:53 stgatilov Note Added: 0015726
07.01.2023 17:53 stgatilov Status feedback => resolved
06.01.2024 22:11 nbohr1more Relationship added related to 0006337