We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f689902 commit 4acb440Copy full SHA for 4acb440
1 file changed
Assets/Scripts/Game/UserInterfaceWindows/DaggerfallBookReaderWindow.cs
@@ -318,6 +318,7 @@ void LayoutBookLabels()
318
foreach (TextLabel label in bookLabels)
319
{
320
label.Position = new Vector2(x, y);
321
+ label.Parent = pagePanel; // Establish parent scale before measuring wrapped text.
322
label.MaxWidth = (int)pagePanel.Size.x;
323
label.RectRestrictedRenderArea = pagePanel.RectRestrictedRenderArea;
324
label.RestrictedRenderAreaCoordinateType = TextLabel.RestrictedRenderArea_CoordinateType.ParentCoordinates;
0 commit comments