This makes all of the children of the message box align according to these FLEX settings.
If this still does not work I can DM you the .c file of my messagebox setup, let me know.
you are right, it worked but I still don’t quite understand FLEX. Instead of sorting the position of an object, it sorts the collections of other objects, right?
and you made me curious, can I take a look at that .c code of yours? If you want, I will also share the code that took me 2 weeks to understand and make it work :)))
Yes, flex does not affect only the position of one object, but the positions of all objects within a sort of “flex box”, it will dynamically move (and perhaps even size) objects inside of that box to make them fit according to the settings supplied by the user. The documentation has a link explaining the Flexbox system which is what the Flex functionality of LVGL is based on: A Complete Guide to Flexbox | CSS-Tricks - CSS-Tricks
This explains everything about the different settings, I really like the flex system, makes it so that you can dynamically add/remove UI elements without having to move them yourself.