diff --git a/Assets/QA/Tests/Core Platform Menu/SceneMenu.cs b/Assets/QA/Tests/Core Platform Menu/SceneMenu.cs index 13e95bc177..0e6e5aea02 100644 --- a/Assets/QA/Tests/Core Platform Menu/SceneMenu.cs +++ b/Assets/QA/Tests/Core Platform Menu/SceneMenu.cs @@ -382,13 +382,13 @@ void BuildSearchBar(Transform parent) var ph = MakeText("Placeholder", textArea.transform, "Search scenes\u2026", 18, kTextSecondary, TextAlignmentOptions.MidlineLeft); ph.fontStyle = FontStyles.Italic; - ph.enableWordWrapping = false; + ph.textWrappingMode = TextWrappingModes.NoWrap; ph.overflowMode = TextOverflowModes.Ellipsis; Stretch(ph.gameObject); var txt = MakeText("Text", textArea.transform, "", 18, kTextPrimary, TextAlignmentOptions.MidlineLeft); - txt.enableWordWrapping = false; + txt.textWrappingMode = TextWrappingModes.NoWrap; Stretch(txt.gameObject); var input = bar.AddComponent(); @@ -614,7 +614,7 @@ void BuildSceneButton(Transform parent, SceneEntry entry) var nameT = MakeText("Name", go.transform, entry.displayName, 15, kTextPrimary, TextAlignmentOptions.Center); nameT.overflowMode = TextOverflowModes.Ellipsis; - nameT.enableWordWrapping = false; + nameT.textWrappingMode = TextWrappingModes.NoWrap; var nr = Rect(nameT); nr.anchorMin = new Vector2(0.04f, 0.38f); nr.anchorMax = new Vector2(0.96f, 0.94f); @@ -626,7 +626,7 @@ void BuildSceneButton(Transform parent, SceneEntry entry) var subT = MakeText("Sub", go.transform, entry.subcategory, 11, kTextSecondary, TextAlignmentOptions.Center); subT.overflowMode = TextOverflowModes.Ellipsis; - subT.enableWordWrapping = false; + subT.textWrappingMode = TextWrappingModes.NoWrap; var srr = Rect(subT); srr.anchorMin = new Vector2(0.04f, 0.06f); srr.anchorMax = new Vector2(0.96f, 0.38f);