cancel
Showing results for 
Search instead for 
Did you mean: 

Scrolling text wider than the LCD screen

RWilt.1
Associate II

I am using TouchGFX Designer (version 4.24.1).

I am wanting to stroll a Text Area across the screen. I can do this with the MoveAnimator selected as long as the text width is less than the screen width. When I attempt to scroll text than is wider than the LCD screen width, then anything wider than the screen is lost.

The scrolling code being used is as follows:

	txtCalibDetails.clearMoveAnimationEndedAction();
	txtCalibDetails.startMoveAnimation(240, 299, 480, 
					touchgfx::EasingEquations::linearEaseNone,
					touchgfx::EasingEquations::linearEaseOut);

Please note regarding the x and y values (240, 299): I've created the screen in TouchGFX Designer upside down so that I can have then screen rotated by 180 degrees on the LCD without further processing.

How can I scroll text that is wider than the screen width?

Thanks

1 REPLY 1
GaetanGodart
ST Employee

Hello @RWilt.1 ,

 

I have created a 4.24.1 project, added a long text and added button with an interaction to move the textArea.
Everything works fine for me.
Please find the project attached.

Can you share your project?
Is the issue only on target or also on simulator?

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)