rasmusbergpalm / jslate

Write your dashboards in pure html/js
jslate.com
244 stars 54 forks source link

Turn off widget snap? #57

Closed n7k1 closed 10 years ago

n7k1 commented 10 years ago

First off, I want to say a big THANKS for this awesome code. It really makes laying out widgets quick work!

Sometimes my widgets don't fit perfectly in the snapped widget window size. The widget contents either get clipped or there's wasted space. Is there a way to turn off the snap-to-grid behaviour so I can size the widgets just right?

Thanks!

n7k1 commented 10 years ago

I think I found it...removing grid: [50, 50] in app/View/Dashboards/view.ctp should work.

n7k1 commented 10 years ago

This does the trick. Change app/View/Dashboards/view.ctp //grid: [50, 50], grid: [5, 5],

rasmusbergpalm commented 10 years ago

Glad you figured it out :)