Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Nested rows and columns in the UI layout builder #128

Open
grantavery opened this issue Feb 22, 2021 · 0 comments
Open
Labels
Feature This is new functionality to be added.

Comments

@grantavery
Copy link

Hello, love the widget's customizability! One thing I'd love even more is the ability to nest groups of elements (see below for an example). For example, let's say I already am inside of the right side column of a row (column(95) in the example), and I want to have the battery and sunrise elements display horizontally. Ideally, I'd be able to put a set of rows inside of that column, and then divide again with columns within those inner rows to put my battery and sunrise elements horizontally in the UI.

Having taken a peek at Weather Cal code.js, I can see this request would require major re-architecting of the layout system, but I think it would make the widget as a whole much more valuable and extensible to users. Thanks!

const layout = `
  row {
    column {
      events
      hourly
      daily
    }
    column(95) {
      row {
        column {
          date
          current
          future
        }
      }
      row {
        column {
          battery
        }
        column {
          sunrise
        }
      }
    }
  }
`
@mzeryck mzeryck added the Feature This is new functionality to be added. label Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature This is new functionality to be added.
Projects
None yet
Development

No branches or pull requests

2 participants