commit | cfb4f2c07e7d11f52d18ddad082fad5834e26bb3 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri May 02 08:46:42 2025 -0600 |
committer | Simon Glass <sjg@chromium.org> | Fri May 30 09:49:32 2025 +0100 |
tree | ca2e859d84c856306b5798eca216ef3f2d108a33 | |
parent | 0dc275fb427300ffe25803c55af9e8a141988c8b [diff] |
expo: Support rendering multiple lines of text Use the measurement info to write each line of text separately, thus respecting word-wrapping and newlines. Fix up the comment for scene_obj_render() while we are here. Since a lineedit does not support alignment, add a special case to just display the text if there is no measurement. This happens assuming the lineedit is initially empty. Signed-off-by: Simon Glass <sjg@chromium.org>