Giter VIP home page Giter VIP logo

Comments (2)

 avatar commented on May 23, 2024

Hi eranimo,

my apologies upfront: this will be an unsatisfying answer.
GoldenLayout doesn't have a concept of an absolute width, in fact, everything in GoldenLayout is relative. This is a fundamental aspect of the "docker" layout approach, as opposed to, e.g. grid based layouts. Everything being relative means that at any moment the available space is used as efficiently as possible and there won't be any gaps. Mixing fixed sized and dynamically sized components will introduce unsolvable logical problems (what if I move my fixed width 200 component into a row that's 500 wide, but already has a fixed width 400 component in it.)

Everything being completely resizeable off course brings additional UX challenges (if you're using outlook, notice in how many different ways your inbox list reformats itself during resizing).

If having fixed sized components with sizes that are multiples of each other is a fundamental requirement of your app, you might want to have a look at Gridster. Personally though I believe that a dynamic layout that adjusts to screen sizes and ratios and makes the best use of all available space is the best possible approach.

from golden-layout.

PragmaticEd avatar PragmaticEd commented on May 23, 2024

@deepstreamIO Just letting you know, that link (http://gridster.net/) is dead..

from golden-layout.

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.