Hi,
I use Qt Designer and try to set the initial size of a QDockWidget... but no way.
I have try the following :
- Change the sizes with the Qt Designer, it the designer it looks good but not when I launch the application.
- Play with the following methods : resize, updateGeometry, setGeometry, raise
- Implement sizeHint this way :
virtual QSize sizeHint() const
{
return QSize(247, 241);
}
Of course, I have try on both the QDockWidget and the child widget !
Only the setFixedWidth works... but then the width is fixed :-P
What is strange is that the 'window::restoreState' update the layout correctly !
Thanks