Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Assets/QA/Tests/Core Platform Menu/SceneMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<TMP_InputField>();
Expand Down Expand Up @@ -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);
Expand All @@ -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);
Expand Down
Loading