jplitza / lightdm-dashboard

Dashboard login screen for LightDM (with Webkit greeter)
BSD 2-Clause "Simplified" License
9 stars 3 forks source link

Make number of widget wells more dynamic #4

Open jplitza opened 10 years ago

jplitza commented 10 years ago

This requires an algorithm to decide how to position them or how to split the screen respectively.

phyrog commented 9 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.

jplitza commented 9 years ago

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.

phyrog commented 9 years ago

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.

jplitza commented 9 years ago

Well, go ahead, I'm looking forward to seeing it in action. :)