If you use layouts, you shouldn't try to change widget's size. If you really need to, you can try to force the widget to change its sizeHint() (but you'll probably have to subclass).