VR: Support non-multiline text
Text elements can now default to multiline, but can be configured as single-line, to truncate rather than grow the texture vertically. Along the way, remove a field width parameter from the Text constructor. This value needs to match the element size, and should be pulled from element size rather than explicitly set to match. BUG= TBR=vollick@chromium.org Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I8a0e48b1efb3b562e9a8f0037e9718020bcfc01b Reviewed-on: https://chromium-review.googlesource.com/796710 Commit-Queue: Christopher Grant <cjgrant@chromium.org> Reviewed-by:Ian Vollick <vollick@chromium.org> Reviewed-by:
Biao She <bshe@chromium.org> Cr-Commit-Position: refs/heads/master@{#520578}
Showing
Please register or sign in to comment