As far as I know, you can't set an initial size, since the size of a docked widget is dependent on its contents. So, what you can do instead is to override the virtual sizeHint() function of any children widget. That's what I personally do and what allows me to 'control' the initial size of a docked widget.
Bookmarks