Search Issue Tracker
Fixed in 4.6.3
Votes
6
Found in
4.6.0b17
Issue ID
627827
Regression
No
It's impossible to set UnityEngine.UI.Text`s Vertical Overflow setting from script
It's impossible to set UnityEngine.UI.Text`s Vertical Overflow setting from script. There is no property at Text.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
pansapiens
Oct 23, 2014 23:47
There are no script bindings for both Vertical and Horizontal overflow settings, although these are exposed in the Inspector. I'd expect an enum.
Still unresolved in 4.6.0b20. Bug was marked as resolved here, but only line spacing and not overflow settings were addressed: http://issuetracker.unity3d.com/issues/ui-dot-text-has-no-property-for-getting-or-setting-linespacing-ver-slash-hor-overflow-even-though-it-is-editable-in-the-inspector