Getting size changes to AbstractComponent

Hi,
How do I listen parent layout for size changes in my custom widget?

  • There is this ContainerResizedListener interface. My widget implements Paintable and ContainerResizedListener.

  • I’ve set parentlayout to 100% in server (VerticalLayout).

  • I’ve set my AbstractComponent to setSizeFull().

  • Layouts analyzed on server, total top level problems: 0

  • still iLayout() or setHeight() of custom widget is not invoked

:vader:, all this trouble and I JUST forgot to call client.updateComponent on uidl-update.

There is actually no need to implement the ContainerResizedListener interface. setWidth/setHeight will be called anyway when the size changes.