cancel
Showing results for 
Search instead for 
Did you mean: 

Textarea inside custom container doesn't update xy

JPabl.1
Senior

Hi there Touchgfx team!

 

I have a textarea and 2 images inside a custom container. From my view, I create the custom container and then call a custom container method to update the x,y of these widgets like this: 

            storage_full_image.setXY(battery_x, battery_y);
            battery_image.setXY(battery_x - 25, battery_y);
            header_date_text.setXY(header_date_x, header_date_y);

The 2 images move without problem, but the textarea remains fixed. I'm invalidating all 3 widgets after updating the XY. 

Is there a different way to update the XY of a textarea?

Thanks a lot in advance 

1 ACCEPTED SOLUTION

Accepted Solutions
JPabl.1
Senior

Neverming, I was updating it from another function and didn't notice it

View solution in original post

3 REPLIES 3
GaetanGodart
ST Employee

Hello @JPabl.1 ,

 

Does it also happen if it is outside of your custom container (just inside a screen)?

Can you share the project?

Can you try to create a minimal project with steps to reproduce the issue?

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)
JPabl.1
Senior

Neverming, I was updating it from another function and didn't notice it

No problem man!

I am glad you found the solution :smiling_face_with_smiling_eyes:

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)