We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f689902 + 4acb440 commit 3ef9d8dCopy full SHA for 3ef9d8d
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