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

Widget spacing #3

Open
Chivs opened this issue May 30, 2019 · 1 comment
Open

Widget spacing #3

Chivs opened this issue May 30, 2019 · 1 comment

Comments

@Chivs
Copy link

Chivs commented May 30, 2019

Please bear with me, new to dashboard configuration.

I tried to create a simple layout to get started and used the following:
title: Main Panel
widget_dimensions: [1, 1]
columns: 8

layout:
- include: top_panel

However, the spacing is completely off and I tried to make sense of your comment that widgets are 1x1 and not 120x120.

What am I missing?

Thanks

@AZSupra
Copy link
Owner

AZSupra commented May 31, 2019

I think the issue is probably in your columns. Because the grid dimensions are set to 1x1 pixels you'll need to set your columns to the total width you want your screen to be. For example mine is set to 1024 to match the width of my fire 7 tablet. Try that and then set your widget dimensions to something like this: light.livingroom_lights_level(120x120) to make the widget 120x120 pixels.

This makes it a pain to format but the benefit is that you can set widgets to any size you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants