here I am currently working on a project developed by Vaadin Version 8. I use the Valo theme to add style. But I see that there is the setResponsive method which belongs to each component. I would like to know if the components are responsive by default or I have to set them to true Thanks
setResponsive
method is coming from the AbstractComponent
class. So any component extending this class has the method. Functionality is implemented as an AbstractExtension
(Responsive
).
Before setting Responsiveness it's checked if a component has an extension already. Extensions are saved inside the extensions
field of the AbstractClientConnector
class, which is empty by default. (AbstractComponent
also extends AbstractClientConnector
, so each components extends it as well). None of the components seems to add any default extensions.
Therefore, by default responsiveness is not enabled.