gridstack / gridstack.js

Build interactive dashboards in minutes.
https://gridstackjs.com
MIT License
6.38k stars 1.27k forks source link

Angular wrapper doesnt have fitToContent option #2673

Closed mcakici closed 2 months ago

mcakici commented 2 months ago

Subject of the issue

Angular wrapper doesnt have fitToContent option

Your environment

Angular 17.3.7 GridStack 10.1.2

Steps to reproduce

image

Expected behavior

It should be seen.

https://github.com/gridstack/gridstack.js/issues/404

lukebrider-woolard-cgi commented 2 months ago

fitToContent was renamed sizeToContent in 9.1.0

sizeToContent is also an Item Option, so you should be using it when you define the children of GridStackOptions (or when you add a widget tot he grid).

adumesny commented 2 months ago

can be set on children or grid (to affect all children). closing as NAB