Describe the bug
Each NiivueView is a div element with a canvas as its child. The expected behavior is that the div element gets constrained to the same dimensions as the canvas (instead of taking the full width of the cell).
Expected behavior
The widget dimensions should be constrained. If no width and height inputs are given, then the dimensions of the div element should be the default width and height (640 and 480).
Screenshots
As you can see in the screenshot, the canvas dimensions are constrained correctly, but the div dimensions are not.
Describe the bug Each NiivueView is a div element with a canvas as its child. The expected behavior is that the div element gets constrained to the same dimensions as the canvas (instead of taking the full width of the cell).
To Reproduce
Expected behavior The widget dimensions should be constrained. If no width and height inputs are given, then the dimensions of the div element should be the default width and height (640 and 480).
Screenshots
As you can see in the screenshot, the canvas dimensions are constrained correctly, but the div dimensions are not.