From 4acb440c4b4730e42ab3e611c589a9e38c08ebbf Mon Sep 17 00:00:00 2001 From: Vivian V Wing Date: Wed, 27 May 2026 14:47:07 -0700 Subject: [PATCH] Fix for overlapping text in some books --- .../Game/UserInterfaceWindows/DaggerfallBookReaderWindow.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Scripts/Game/UserInterfaceWindows/DaggerfallBookReaderWindow.cs b/Assets/Scripts/Game/UserInterfaceWindows/DaggerfallBookReaderWindow.cs index 9991f1c9f1..23e9574d8d 100644 --- a/Assets/Scripts/Game/UserInterfaceWindows/DaggerfallBookReaderWindow.cs +++ b/Assets/Scripts/Game/UserInterfaceWindows/DaggerfallBookReaderWindow.cs @@ -318,6 +318,7 @@ void LayoutBookLabels() foreach (TextLabel label in bookLabels) { label.Position = new Vector2(x, y); + label.Parent = pagePanel; // Establish parent scale before measuring wrapped text. label.MaxWidth = (int)pagePanel.Size.x; label.RectRestrictedRenderArea = pagePanel.RectRestrictedRenderArea; label.RestrictedRenderAreaCoordinateType = TextLabel.RestrictedRenderArea_CoordinateType.ParentCoordinates;