2025-07-30 1:51 PM
When building a Widget or Custom Container, could it be possible to define values that can be used in the base and inherited class?
Things that are in the base constructor.
Coordinates, colours, Bitmaps_id, ...
Predefined coordinates in Designer for when the widgets change size.
This would permit in the application to let the TouchGFX designer figure out the style/geometry and the code to focus on the behaviour and not need to calculate translation of coordinates, just to realign text after an image.
I suggest that this feature is opt-in and not systematic.
Could be a checkbox near the mixins to export drawables properties after construction.
2025-07-31 8:19 AM
Hello @Marc_LM
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
Best regards,
Lina