InfiniTime
InfiniTime copied to clipboard
Adds scroll bar to music app
Fixes #1391
Build size and comparison to main:
Section | Size | Difference |
---|---|---|
text | 376848B | 64B |
data | 940B | 0B |
bss | 63420B | 0B |
I imagine it could look a little better with a little margin around the buttons. What do you think?
The page indicator is 2px wide. However, if I move the buttons 3px, it conveniently has a 3px space between the play/pause button too, making it nice and symmetrical. What do people think?
For comparison, here are the buttons moved 2px
I like the first image where the bar is not touching the button.
PR updated to move the buttons 3px.
I experimented with hiding or deleting the page indicator object when you switch pages. According to the simulator, hiding the object used more lvgl memory than deleting and creating. So I went with deleting. I guess it used more memory as you actually had more objects at any one time, with one of them hidden.