2024-11-05 08:06 AM
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
Solved! Go to Solution.
2024-11-09 06:55 AM
Neverming, I was updating it from another function and didn't notice it
2024-11-07 07:12 AM
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,
2024-11-09 06:55 AM
Neverming, I was updating it from another function and didn't notice it
2024-11-11 01:32 AM
No problem man!
I am glad you found the solution :smiling_face_with_smiling_eyes:
Regards,