Removing fixed height and width in element styles

When I create a component layout, event if I set undefined size, an absolute exact size is set on the CSS elements.


Is it possible to say to Vaadin not to set absolute sizes? And let the CSS do it’s work?


Most of the core layouts add dimensions to the elements, since the width/height calculations are performed by Vaadin in order to make them behave the same in all browsers. You can use CssLayout if you want to have full control and allow the browser to do it’s thing. Do note that the layouts surrounding (if such exist) your CssLayouts will have the dimensions added to their elements.