Added setSizeHint() to widget.