Fix CreditsLogic to word-wrap the text.

This allows the text to be word-wrapped automatically, rather than the current approach of manually wrapping the source text.
This commit is contained in:
RoosterDragon
2024-09-19 21:15:16 +01:00
committed by abcdefg30
parent 073ce4a718
commit 833e6bd652
4 changed files with 29 additions and 42 deletions

View File

@@ -42,9 +42,10 @@ Container@CREDITS_PANEL:
Children:
Label@CREDITS_TEMPLATE:
X: 8
Width: PARENT_RIGHT - 25
Width: PARENT_RIGHT - 24 - 2 * 8
Height: 16
VAlign: Top
WordWrap: true
Button@BACK_BUTTON:
Y: PARENT_BOTTOM - 1
Width: 140

View File

@@ -38,9 +38,10 @@ Background@CREDITS_PANEL:
Children:
Label@CREDITS_TEMPLATE:
X: 8
Width: PARENT_RIGHT - 25
Width: PARENT_RIGHT - 24 - 2 * 8
Height: 16
VAlign: Top
WordWrap: true
Button@BACK_BUTTON:
X: PARENT_RIGHT - 180
Y: PARENT_BOTTOM - 45