The PangoLayout needs to be positioned according to the content allocation of the gadget, not the widget's allocation.
This can be useful for giving input windows the right size.
A gadget is halfway between a widget and a CSS node. It's supposed to provide the minimum convenicence around CSS nodes until we've figured out how to integrate them with widgets.