GithubHelp home page GithubHelp logo

Comments (11)

felixhageloh avatar felixhageloh commented on August 14, 2024 3

Would a global style sheet work? You could target all widgets using the 'widget' class name and individual widgets by their id.

This would also allow to use css grid for laying out your widgets, something I have seen several people attempting to do.

from uebersicht.

felixhageloh avatar felixhageloh commented on August 14, 2024

Glad you like it! I actually have a branch with drag and drop (still a bit buggy but functional). It is quite complex though, since you still want to keep the relative positioning to a specific screen edge. My idea was to wait and see if this is requested more often and otherwise leave it out for the sake of keeping things simple.
I haven't thought of auto layout before ... maybe worth thinking a bit more about!

from uebersicht.

bensleveritt avatar bensleveritt commented on August 14, 2024

I'd like to 2nd a layout system.

from uebersicht.

felixhageloh avatar felixhageloh commented on August 14, 2024

a widget's position is only defined by its style at the moment, if I understood your question correctly

from uebersicht.

hacfi avatar hacfi commented on August 14, 2024

I didn’t have the time yet to look into this further but while browsing I found a good reference on which settings we could offer: https://developers.google.com/maps/documentation/javascript/controls#ControlPositioning

from uebersicht.

edasque avatar edasque commented on August 14, 2024

How about using jQuery Masonry to rule it all: http://masonry.desandro.com/

from uebersicht.

Pe8er avatar Pe8er commented on August 14, 2024

+1 for auto layout. It would be great if widgets were aware of each other.

from uebersicht.

 avatar commented on August 14, 2024

Any work on this? The widgets are not really plug-n-play until they're draggable.
Amazing work on Übersicht by the way I love it.

from uebersicht.

MrRaven010 avatar MrRaven010 commented on August 14, 2024

another approach to this could be to specify a widget container with a total size. Then you could specify X% or Xpx away from the previous widget.

from uebersicht.

bruno-robert avatar bruno-robert commented on August 14, 2024

I like the simplicity of Übersicht but I still feel it's either missing drag 'n drop or at least an option all widget have to set the position. Everytime I add a widget, I add 'absPosition: "0px 0px 0px 0px"' to the options, and then add 'margin: #{options.absPosition}' somewhere in the CSS. It would be nice if this was a feature.
Amazing work btw, I love the app, it's so simple and clean!

from uebersicht.

alex-taxiera avatar alex-taxiera commented on August 14, 2024

at least an option all widget have to set the position

This is probably the best way to do it, because then it should just be a matter of the setting adding some inline css to the wrapper divs (just a guess, but this seems much easier than drag and drop).

from uebersicht.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.