Either using a web browser and a #HomeAssistant dashboard or something more custom written in #Rust with #slint_ui
Yalls wanna hear about something very cursed?
There is a GUI toolkit for Rust called Slint. And that one has stuff like ListView where you put their special for construct around an array and create elements based on it.
The issue? Scrolling with D-pad. You get a scrollview but that isn't aware of the items inside so you have to somehow specify the step size. But if the items have arbitrary size? You can't take reference of the widgets. There is no widget object concept.
What I did is creating a »shadow« layout which I set as invisible, but instead of the for construct I made a view of previous item, current item and following item, which, as they are statically defined I can refer to and get their height.
I've been writing an open source, cross-platform music player I'm calling Dimple and I'd like to start sharing some progress. So, first of a thread...
Just finished switching the main app window to a sidebar design instead of a header, and I like it quite a bit more. What do you think? Sidebar or header?