Difficulty with the layout

Do you have a tips to making a layout with the community editions, i just try to edit the line :

$Layout = '{“lg”:[{“w”:8,“h”:8,“x”:0,“y”:0,“i”:“grid-element-topLeft”,“moved”:false,“static”:false}

by hand and some of things don’t want to move like the New-UDInput
By the way I try to do a new dashboard with the same code as in the doc but my card don’t move.
The code :

$oui = New-UDDashboard -Title “Test Layout” -Content {
New-UDGridLayout -Content {
New-UDCard -Title “Card 1” -Id ‘Card1’
New-UDCard -Title “Card 2” -Id ‘Card2’
New-UDCard -Title “Card 3” -Id ‘Card3’
}
}
Start-UDDashboard -Dashboard $Oui -Port 8095

Hope you can help me :slight_smile:

Hi @papasoulman1,
Please read https://docs.universaldashboard.io/components/formatting#formatting-with-rows-and-columns you can then design without the grid layout. I prefer to use this as it’s quick and easy to get the exact layout you want for dashboards. However you can try an online version Adam kindly put together…hopefully this will show you why it’s worth upgrading :smile:

https://uddesigner.azurewebsites.net/home

So use the above link re-design your dashboard how you want it to look, then put your working controls inside there.

1 Like