Open jplitza opened 10 years ago
Something like this? http://masonry.desandro.com
It would be cool to re-integrate the calendar-widget without losing too much space for the other widgets. I am not sure if this is possible, though.
If I understand Masonry correctly, you still have to specify one dimension (horizontal, as it seems). I thought of something completely dynamic, like https://github.com/planetcyborg/hud has it, but nicer (maybe limit the sizes to 50px steps or something, so they don't look too arbitrary).
But considering the long texts the mensa currently has, there's no way to fit one more widget on a 22" screen without throwing away another one - or making all of them unreadable by reducing font size.
I believe Masonry offers the possibility to set a column-width (which could be set to 50px) and specify the number of columns each element should span (http://masonry.desandro.com/options.html).
I have some ideas for the mensa and gw2 modules (like scrollable widgets or gallery-like rotation between the dishes), that I would like to try out. Maybe we can even reduce the used space that way.
Well, go ahead, I'm looking forward to seeing it in action. :)
This requires an algorithm to decide how to position them or how to split the screen respectively.