We did just add the InfiniteProgress Spinner to our Vaadin 24.3.3 projec

We did just add the InfiniteProgress Spinner to our Vaadin 24.3.3 project, and did set width&height to 1em, but the spinner does not respect these sizes.

pSpinner.setWidth(1, Unit.EM);

pSpinner.setHeight(1, Unit.EM);

It still uses ~80px, also setting units in PX did not help

Changing the element sizes currently is not possible due to the complex calculation of rendering the movable elements. However I can offer some pre-defined sizes like S / M / L / XL / XXL. Would this be helpful?

Yes, having predefined sizes would solve most real world problems when using the component.

Good idea.