Lvgl being weird

I’m trying to create an auton selector using lvgl, however I’m having some issues. The first issue is that when the robot starts, the auton selector should automatically go to the last selected auton (read from an sd card) and show the description on the right. However, the label on the right just says text and only changes once a button is clicked.


Also, the text wrapping for the auton description seems to be broken: it makes every word a new line even when two words can both fit on the same line, making it impossible to put a longer description. Also, the far side label seems to have a different spacing between the first and second lines compared to the near side description even though the code for making both labels should be the same.
.

Here is the code repo: https://github.com/2112A-code-team/ogegiog-Code

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.