Component size

Hello!

Can someone tell me how to get the width of a component?
SetSizeFull is used, so getWidth always answers 100

Hi,

you’ll have to ask for it from the client side. There’s already an add-on for that: https://vaadin.com/directory#!addon/sizereporter

-Olli

Thx, I’m trying.

Great!

-Olli

Works, thanks!