You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@boydm This might be another good issue to revisit. Here's an example scene that reproduces the text wrapping (which doesn't match the size of the view port):
defmoduleDash.Scene.HomedouseScenic.ScenerequireLoggeraliasScenic.GraphimportScenic.Primitives@text_size24definit(scene,_param,_opts)do{width,height}=scene.viewport.sizegraph=Graph.build(font: :roboto,font_size: @text_size)|>add_specs_to_graph([text_spec("Very long text will wrap at some point. Is there a way to disable this? aa ab ac ad ae af ag ah ai aj ak al am an ao ap",translate: {20,40+@text_size}),rect_spec({width,height})])scene=push_graph(scene,graph){:ok,scene}enddefhandle_input(event,_context,scene)doLogger.info("Received event: #{inspect(event)}"){:noreply,scene}endend
And here's a screenshot rendered from the scene above:
#62 # What problem does this feature solve?
I want text to be able to overflow outside of the screen; that way I can create scrolling text.
I want text to scroll in like a marquee.
What is your proposed solution?
Allow it to be as wide as need be and just slide it over to the left continuously.
The text was updated successfully, but these errors were encountered: