On the URL, note that it contains explorer-branch=chore%2Fre-introduce-uitext-wrapping which means the Playground is using this branch. Then the URL follows with &code=, note there's no mention of the SDK. This would be the case where an OLD scene is loaded:
Label 1, doesn't have the property => text is not wrapped
Label 2, does have the property, with the value nowrap => text is not wrapped
Label 3, does have the property, with the value wrap => text is wrapped
On the left we can see the code for the 3 labels.
On the URL, note that it contains explorer-branch=chore%2Fre-introduce-uitext-wrapping which means the Playground is using this branch. Then the URL follows with ?sdk-branch=chore%2Fre-introduce-uitext-wrapping which means the Playground is using the SDK version with the new default behavior for wrapping text. This would be the case where a new scene is created:
Label 1, doesn't have the property => text is wrapped
Label 2, does have the property, with the value nowrap => text is not wrapped
Label 3, does have the property, with the value wrap => text is wrapped
On the left we can see the code for the 3 labels.
Re-introduced ui text wrap with no-wrap as the default behavior
How to test the changes?
Use the following url: PLAYGROUND A
On the URL, note that it contains
explorer-branch=chore%2Fre-introduce-uitext-wrapping
which means the Playground is using this branch. Then the URL follows with&code=
, note there's no mention of the SDK. This would be the case where an OLD scene is loaded: Label 1, doesn't have the property => text is not wrapped Label 2, does have the property, with the value nowrap => text is not wrapped Label 3, does have the property, with the value wrap => text is wrapped On the left we can see the code for the 3 labels.Use the following url: PLAYGROUND B
On the URL, note that it contains
explorer-branch=chore%2Fre-introduce-uitext-wrapping
which means the Playground is using this branch. Then the URL follows with?sdk-branch=chore%2Fre-introduce-uitext-wrapping
which means the Playground is using the SDK version with the new default behavior for wrapping text. This would be the case where a new scene is created: Label 1, doesn't have the property => text is wrapped Label 2, does have the property, with the value nowrap => text is not wrapped Label 3, does have the property, with the value wrap => text is wrapped On the left we can see the code for the 3 labels.Our Code Review Standards
https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md
Copilot summary
copilot:summary