Hello,
I’m currently upgrading a Vaadin 14 app to 23, as a stepping stone to 24.
Functionally it has been udpated and is working as expected.
However I am seeing some different behaviour for the rendering on the screen.
Mostly extra padding and spacing that is throwing out Vertical and Horoizontal layouts.
The CSS and the HTML produced are the same comparing old to new, but for some reason, the theme=“padding spacing” is now causing issues.
If I manually go in (with developer tools in Chrome) and remove the 'theme=“padding spacing” declaration on the ‘vaadin-vertical-layout’ or ‘vaadin-horizontal-layout’ in question it all looks closer to how it used to look.
I can’t find though how to get rid of the theme programatically.
Setting padding and spacing to false on the component in java code wasn’t doing it.
Does anyone know how to just get rid of that ‘theme’ being applied?
Thanks.