How to get component size in px?

VerticalLayout conteiner = new VerticalLayout();
conteiner.setSizeFull();

.........
float height = conteiner.getHeight();
console ---> 100.0(show in percents)

Hi! The same question was asked a while back. You’ll find answers here:
https://vaadin.com/forum/#!/thread/16954389

Thanks!!!)