Do you set any layout(in the plugin) for the container widget?
Try saving the ui(without resizing it) after you apply the layout and then compile it with uic and take a look at the resulting source.
See if everything is in order.

Regards